-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Labels
Description
To reproduce:
- Create a new project with Unity 6.2 and open it.
- Install the plugin. I did through https://github.com/rive-app/rive-unity.git?path=package#v0.3.7.
- Place a .riv file in to the project. I did it by dragging one in from Windows Explorer into Unity's project window.
- The first time you do this, Unity editor will become unresponsive requiring a process kill. I did it through the Task Manager.
- Open the project again with Unity 6.2. This time project will open with the following warning:
A default asset was created for 'Assets/filename.riv' because the asset importer crashed on it last time.
You can select the asset and use the 'Assets -> Reimport' menu command to try importing it again, or you can replace the asset and it will auto import again. - Do as the warning suggests and reimport the .riv file. Unity will now hard crash and show the bug report window.
The above happens irrespective of whether the .riv file is at the top level of the Assets folder or a subfolder.
The crazy thing is, if you open the same project with Unity 6.0, the .riv file imports properly. Then, opening the same project again in Unity 6.2 works as expected and does not crash Unity 6.2. After this point, deleting the Library folder and forcing Unity to reimport everything from scratch does not hard crash Unity 6.2 either. For now I'm using this workaround but obviously this won't do in the long run...