Unity 6.3 Crashs after clearing pose editor gameobject
UMotionPro Crash.mp4
Hello its me again you suggest that i open a bug report here.
As the video shows when i clear the "Select a GameObject to animate" field untiy crashes within seconds. never happens when i use unity normally.
I tried to create a new project and tested it with a random huminoid mesh but this time with no crashes so am assuming its something in my project or the Complex GameObject am using (i tried reinstalling umotion pro and i still experiance the sudden crash after clearing the pose editor object).
Update: so i asked chatgpt to read the crash log and this is what he said:
https://chatgpt.com/share/6a7f8626-1374-83eb-8624-2aab06c5801f
UMotion appears to iterate through renderers on the selected GameObject and attempts to modify sharedMaterials on a VFXRenderer. Immediately before the crash, the Editor.log reports:
It is not allowed to set the material of a VFXRenderer. This method has no effect.
The stack trace points to UMotionEditor.Control.UMotionLock.
Shortly afterward, Unity reports:
Resolve of invalid GC handle. The handle is from a previous domain.
and crashes in the VFX system during VFXParticleSystemBatchData / VFXBatch cleanup.
Removing/excluding Visual Effect Graph objects from the hierarchy used by UMotion appears to be related to the issue.
Customer support service by UserEcho
Ok I can confirm after removing all the VfX components on my gameobject the issue is resolved and the crash stops.
so the bug has nothing to do with Unity version. but rather the vfx existing on my gameobject