Skip to content

Setting string property to null crashes Unity editor #157

Closed

Description

@eapark

Not sure if this is intended behavior.

string t = null;
var vmi = chatBubbleViewModel.CreateInstanceByName("instance name");
var stringProperty = vmi.GetStringProperty("textProperty");
stringProperty.Value = t;

This will crash the Unity editor.

Unity editor version: 2022.3.70f1
Rive package 0.4.1

Activity

  1. damzobridge commented on Apr 21, 2026

    @damzobridge
    Contributor

    Thanks for reporting this. We're working on a fix. For the time being, you can pass an empty string to unblock yourself.

  2. damzobridge commented on Apr 27, 2026

    @damzobridge
    Contributor

    This should be fixed in v0.4.3-canary.38 upwards. You can use this to install it with the package manager:

    https://github.com/rive-app/rive-unity.git?path=package#v0.4.3-canary.38
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions