Search Issue Tracker

Fixed in 2017.2.0f3

Fixed in 5.6, 2017.1

Votes

0

Found in

5.6.3p3

Issue ID

959795

Regression

Yes

[WSA] IL2CPP build fails with exception when managed DLL is read-only

Steps to reproduce:
1. Open the attached project
2. Switch platform to Windows Store
3. Find the ICities.dll file in Windows Explorer, open the file Properties, and make sure the Read-Only checkbox is ticked
4. Build for WSA Universal 10 (Under il2cpp)
5. Observe the error:
UnityException: Failed to run reference rewriter with command --target="Temp\StagingArea\Data\Managed\ICities.dll"

Actual results: Unity throws the error
Expected results: Unity should not throw the error

Reproduced with: 5.6.0f3, 5.6.3p3, 5.6.4p1, 2017.1.2p2
Not reproduced with: 5.5.5p1, 2017.2.f3, 2018.1.0a1

Fixed in: 2017.2.1p3
Backported to: 5.6.5p3, 2017.1.3p3

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.