[FIXED] - Userdata reference inconsistency in script entry points

Describe the bug:
Entering or leaving a Trigger with a player will return a different player reference for OnTriggerEnter and OnTriggerExit everytime the player enters/leaves the trigger. Also happens on interaction and on collision (not limited to triggers).

How do you cause this bug?

  • List the steps
    Add a Trigger into your game and enter it. The OnTriggerEnter will hold a different player reference on each enter/leave/interact.

Screenshots / video of bug:

Which platform: PC

Which input: keyboard + mouse

Your Crayta username: Daigoro

How regularly do you see this? (E.g. 2/3 times - please try 3 times if possible):
100%

Version number (found in Help tab in Settings): 0.f3.28.120518

1 Like

Hey there @Ya_shi_shi !

Thank you for bringing this to our attention, I have submitted a ticket for this issue so that our internal team can investigate this issue further.

Thank you again for entering this issue! :+1:

Hello

This should now be fixed as of 0.g1.49.126267.

Please let us know if you continue to see this issue!