Search Issue Tracker
Fixed in 2020.2.X
Votes
0
Found in
2017.4
2020.1.0b8
2020.2
Issue ID
1246117
Regression
No
InvalidProgramException error is thrown when loading an Addressable asset asynchronously
How to reproduce:
1. Open user's attached "BugRepro.zip" project
2. Open "SampleScene" scene
3. Select "GameObject" in the Hierarchy
4. Make sure Scene value is set to "OtherScene"
5. Enter Play Mode
6. Press the "Click Me" button in the Game view
Expected result: "OtherScene" scene is loaded
Actual result: "InvalidProgramException: Invalid IL code" error is thrown in the Console log, "OtherScene" scene is not loaded
Reproducible with: 2018.4.24f1, 2019.4.1f1, 2020.1.0b13, 2020.2.0a11
Not reproducible with: 2020.2.0a12, 2020.2.0a15
Could not test with: 2017.4.40f1 (Addressables not available)
Note: The same package of Addresables was used in all Unity versions, indicating the issue was with the Editor itself
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
- ACES Tonemapping causes banding artifacts and negative values in ColorGradingLUT when HDR is enabled and "High Dynamic Range" Grading mode is selected while Android Platform is used
- Android Player freezes when an Audio Source is playing and an incoming call is picked up and then hung up and the Audio Source is started again
- Green success icon is poorly visible in the light Unity theme
- Incorrect input into the Input Field when using Microsoft IME Japanese
- Multiplayer role "ClientAndServer" is displayed without the spaces in the "Play Mode Scenarios" window
Resolution Note (fix version 2020.2):
Fixed in: 2020.2.0a12