Trying to equip the material tool without permission results in an instant world crash
Describe the issue.
If I don't have builder permissions If I press 4 I'll get an instant world crash
To Reproduce
- Go into a session you don't have permissions in
- Try to equip the material tool using 4
- Notice you get an immediate world crash
Expected behavior
Do nothing besides trigger keyboard event nodes
Screenshots
https://github.com/user-attachments/assets/4623459e-4158-47f4-8d14-e0fbeea1631d
Resonite Version Number
Beta 2025.5.8.1182
What Platforms does this occur on?
Windows
What headset if any do you use?
Desktop
Log Files
EPICEASTON197 - 2025.5.8.1182 - 2025-05-08 16_31_43.log
Additional Context
No response
Reporters
@epicEaston197
while I was thinking of why this could be the case the material tool is the only tool with button child audio clip player in the desktop quick lineup which would explain why I'm getting a world crash there might be a problem with that somewhere
I cannot recreate this on Beta 2025.5.8.1182
EDIT: it seems to only happen when you are not hosting the world
I cannot recreate this on Beta 2025.5.8.1182
https://github.com/user-attachments/assets/157b4a18-1dc9-4543-a80e-ded8912229ca
I was able to get it to happen when I joined easton's world
ZOZOKASU - 2025.5.8.1182 - 2025-05-09 05_57_03.log
World crash occurred when I pressed the 4 after joining the testing world.
This is still a issue outside of the pre-release
ROSE - 2025.5.30.1351 - 2025-05-31 16_52_38.log
https://github.com/user-attachments/assets/31d06c2f-948d-4b80-af5a-0cd13c513018
Can confirm, I experienced this today
Confirmed
I can confirm removing the audio from the Material Tool fixes the issue. I tested this using a mod (DefaultToolOverride) that lets you replace the tools you spawn out with the number keys. (Even with this mod, the crash still occurs when spawning out the normal Material Tool, so it's not that the mod fixed it by itself.)
(If anyone uses the mod and wants the default material tool with no audio clips to use as temporary workaround, here's a link. I'll delete it when the issue is fixed.)
resrec:///U-1TAXKoGM3QO/R-dd53063a-4834-4292-8871-6a926aad4134
Does this mean when you press on the number keys it will spawn out the corresponding tool check if you have the permissions to equip it and if not it just deletes the tool?