Crash after reloading API script
Similar issue:https://support.soxware.com/communities/1/topics/44-crash-on-script-update
Unity crashes when reloading a script that has been placed in UMotionEditor/Scripts/Editor to use the UMotion API and has `using UMotionEditor.API;` code in it after modifying it.
GameObject is not selected,
crashes in both cases, even if there is no project open.
Answer
Hi minibox,
thank you very much for your support request.
Does it also crash if you place the script in a different editor folder (e.g. "Assets/Editor")
Best regards,
Peter
Thank you so much!!! It works fine.
I wasn't sure how the Editor directory works in Unity, so I placed my scripts inside UMotion and that was the problem...
Chances are that this is a Unity bug. Unity shouldn't crash when reloading scripts no matter where the script is placed. But as the workaround is fairly simple, we do not further investigate.
Best regards,
Peter
Customer support service by UserEcho
Hi minibox,
thank you very much for your support request.
Does it also crash if you place the script in a different editor folder (e.g. "Assets/Editor")
Best regards,
Peter