Hi, sorry heads down in crunch mode. Unity closed my bug as I didn’t have a good enough repro (they’re right about that)
It is runtime related as the prefab I provided doesn’t have running code and I too load vehicles on the fly.
The workaround I shared is good enough for me (and anyone that needs to unblock) as I’m in a rush but I’m hoping this gets fixed later on in their core code.
Thanks for the update! The workaround you shared works well for spawning vehicles (prefabs), but as I mentioned earlier, I’m still running into issues when trying to delete them. I haven’t found a workaround for that part yet.
I’m currently working on a sample project that can reliably reproduce the issue. Once that’s ready, I’ll submit a proper bug report to Unity.
I also have this issue when deleting objects. The only workaround I found, is to pool objects instead of deleting them. But this work if you need to delete entire object, not just part.