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

Asset Bundles

-

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.

  1. 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.

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.