Search Issue Tracker

Fixed in 5.0.X

Votes

0

Found in

5.0.0b13

Issue ID

648614

Regression

No

List<byte[]> is broken in WebGL

WebGL

-

-e: I am using a List<byte[]> to store incoming binary messages. The code breaks when exported to WebGL. Often, a message that was stored in the list gets a length of 0 bytes, even though the original had some data.

-repro:
--create new project
--add attached ListOfByteArrays.cs to scene
--run in editor
--notice the logs in console
--build development build for WebGL and run
--NOTICE the very different list logs

--workaround as per user comment: initializing list for total needed length

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.