12-19-2023 01:32 PM
Hi,
After updating to interaction sdk v60, I get an error when trying to obtain a collision like so:
handRayInteractor is null and undefined the compiler says. I haven't changed anything in my code, just updated the sdk. In release notes it says that a case where 'data' could be null was fixed, but I now have the exact same problem. Has the way of getting data changed or am I missing something else from this update?
02-01-2024 02:33 PM
Hi @LePython,
Here's the official tutorial on using Data, though at first glance I don't see anything wrong with your code. Could you tell me more about the scenario? If you just want to detect a collision, you could put an InteractableUnityEventWrapper on your detectable object.