Search Issue Tracker
Fixed in Entities 0.5.0-preview.17
Votes
0
Found in [Package]
Entities 0.3.0-preview.4
Issue ID
1203652
Regression
No
Serializing System.String[] of only one element causes exception: Index has to be >= lower bound and <= upper bound of the array
How to reproduce:
1. Open the attached SerializationIssue.zip project
2. Open the Sample Scene from the Project window
3. Go to the Hierarchy window-> select GameObject scene
4. Go to the Inspector window-> Sub Scene (script) -> Press Edit and then Close button
5. Inspect the error in the Console window
Actual: The error is thrown:
"Error when processing 'AsyncLoadSceneJob(VirtualArtifacts/Extra/e0/e0eb776b2e6d8add6bf5bd08e0d0b515.0.entities)': System.IndexOutOfRangeException: Index has to be >= lower bound and <= upper bound of the array.
at System.Array.SetValue (System.Object value, System.Int32 index) [0x00034] in <437ba245d8404784b9fbab9b439ac908>:0"
Reproducible with: 20219.3.0f2, 2020.1.0a16
Note: Could not test with earlier versions because of the thrown errors
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- DownloadHandlerScript.CompleteContent is called twice when building for WebGL
- Scene view has Y coordinates of the Screen Position node flipped when some of the URP features are disabled
- Volumetric fog shader variants are missing from build when "Strict Shader Variant Matching" is disabled
- Unnecessary modifications clutter the Scene when using a RectTransform driven by a LayoutGroup in a Prefab
- Files in the target folder are deleted without a proper warning when building an iOS project
Add comment