Search Issue Tracker
Fixed
Votes
0
Found in
2017.3.0a1
2017.4.10f1
2018.3.0a1
2019.1.0a1
Issue ID
1104308
Regression
No
[.NET] Crash due to corrupted sharedAssets file when loading a scene from WSA Asset Bundle
How to reproduce:
1. Open the attached "WSACrash.zip" project
2. Open the "AssetBundleCrash" scene
3. In the Build Settings, make sure that Scripting Backend for UWP Target Platform is set to .NET
4. In the menu bar, select "Metamono/Asset Bundles/Build"
5. Enter the Play mode
-- Editor crash
Reproducible with - 2017.3.0a1, 2017.4.18f1, 2018.3.1f1, 2019.1.0a2
Not reproducible with - 2019.1.0a6, 2019.1.0a13
Error from the logs:
"Cancelling DisplayDialog because it was run from a thread that is not the main thread: Fatal Error! The file 'archive:/fileName.sharedAssets' is corrupted! Remove it and launch unity again! [Position out of bounds!]"
Note: The issue does not occur, when the Scripting Backend for UWP Target Platform is set to IL2CPP. This is why the issue is no longer reproducible on the latest versions of 2019.1.
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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note:
This defect was resolved via the deprecation of .NET as a scripting backend choice in 2018.3 going forward. It's our suggestion that anyone that is still using this feature switch to IL2CPP to prevent future issues.