Search Issue Tracker
Fixed in 6000.0.23f1
Fixed in 6000.0.X, 7000.0.0a5, future release
Votes
1
Found in
6000.0.16f1
Issue ID
UUM-78675
Regression
Yes
unityInstance.SendMessage does not work in WebGL Build when called inside createUnityInstance()
Reproduction steps:
1. Open the attached “Unit6Test.zip” project
2. Build and Run for WebGL (File > Build and Run)
3. Observe the Player in the browser and turn on Developer Tools (press F12)
Expected result: “Receivied a message!” Log is visible in the Console
Actual result: “SendMessage: object Main not found!” Log is visible in the Console
Reproducible with: 2023.3.0b6, 6000.0.16f1
Not reproducible with: 2021.3.43f1, 2022.3.43f1, 2023.3.0b5
Reproducible on: Windows 11
Not reproducible on: No other environment tested
Note: The SendMessage works correctly if delay is added at the start
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Redoing creation of Sub Scenes and Cube GameObjects in Hierarchy throws “Assertion failed on expression: 'targetScene != nullptr’” error in Console window
- Selecting “New Sub Scene” after assigning “New Scene” in Sub Scene Script Component throws “Destroying GameObjects immediately is not permitted” in the Console window
- Shader Graph "Zoom Step Size" can be set to 0 even though the zoom still works
- Enabling/Disabling the Deprecated Nodes doesn't apply to the opened Shader Graph unless any Variable is added to the Blackboard
- Group Selection title text size is smaller in renaming than the actual font size
Add comment