Search Issue Tracker
Won't Fix
Won't Fix in 2023.3.X
Votes
0
Found in
2023.2.0b13
2023.3.0a9
Issue ID
UUM-53149
Regression
Yes
ReferenceError is thrown when sharing an array between C# and JavaScript in WebGL
How to reproduce:
1. Open “WebGL_repro“ project
2. Open the “SampleScene“
3. File → Build and Run
Expected result: No errors are thrown
Actual result: ReferenceError is thrown
Reproducible with: 2023.2.0a18, 2023.2.0b13, 2023.3.0a9, 2023.3.0a10
Not reproducible with: 2021.3.31f1, 2022.3.10f1, 2023.1.16f1, 2023.2.0a17
Reproducible on: Windows 10, Windows 11, Mac 13.5.2
Not reproducible on: No other environment tested
Comments (1)
-
adamgolden
Oct 31, 2023 23:01
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note:
Emscripten removed the buffer global variable which caused this bug to occur. Fixing this would require forking Emscripten for Unity use (which we want to avoid). The solution to this is to use wasmMemory.buffer or HEAPXX.buffer. The issue has been closed on the forum.
Resolution Note (2023.3.X):
Emscripten removed the buffer global variable which caused this bug to occur. Fixing this would require forking Emscripten for Unity use (which we want to avoid). The solution to this is to use wasmMemory.buffer or HEAPXX.buffer. The issue has been closed on the forum.