20-02-2024, 09:10 AM
(This post was last modified: 20-02-2024, 09:22 AM by josemendez.)
(16-02-2024, 03:57 PM)kayrakocaeli Wrote: Thanks for the reply!
I will prepare a small project for you on monday when I go to office. I'm a staff so can't go there right now.
kinder regars,
Hi there!
I just answered your email. Unfortunately I haven't been able to reproduce this issue, tried a variety of Unity versions and platform combinations to no avail. Enabling Burst's safety checks in order to try and catch the exception you posted the stack trace for doesn't seem to have any effect.
Looking at the stack trace itself, it points to BurstColliderWorld.cs line 154. There, the collision material for the current collider is accessed: the error complains about a collider using a collision material that doesn't exist. This shouldn't be possible in the project you sent, since none of the ObiColliders in the scene (left/right HolsterTrigger and Hooks) use collision materials. Hence, this line of code isn't even executed in the sample project.
I've tried adding a collision material to all 4 ObiColliders in the scene so that the offending line of code does get executed, but this wasn't enough to trigger the exception either.
kind regards,