[1746, SDK 3.9.1-beta.1] World contact recv not firing, possibly because of UpdateCollisionTags
tracked
LillithRosePup
On both client and SDK beta, I have senders on my avatar set to allow
World
type. In the world, I have a contact with most of the settings but no tags in scene view, and on start i call UpdateCollisionTags. The new tags show in scene view, but OnContactEnter is not firing ingame at all.Testing stuff:
- World ID: wrld_1cec674d-d6e6-40ee-86fd-50efa6aa9e2e
- Avatar IDs (private): avtr_055d72ed-b7f2-4380-a473-b8a90842e630, avtr_4107845b-e235-4f45-93d2-92c222187fa4, avtr_3b9527df-c18b-406b-be72-812bd3002b4d
Log In
Dexvoid
Thanks very much for transferring this to Canny.
The contact receiver in your world is part of a player persistence object, which is causing this contact receiver to not be set up correctly as the scene loads - a fix for this is in progress now.
Separately, I'd like to make you aware that UpdateCollisionTags() will soon be updated so its argument changes to string[], to deal with issues where it was failing to compile in UdonGraph scripts. It looks like you'll need to update your Udon script to use this once it's out since otherwise it throws and no tags are assigned to the contact receiver in the world - just letting you know in advance of it happening.
Dexvoid
tracked