Search Issue Tracker
By Design
Votes
2
Found in [Package]
1.18.15
Issue ID
ADDR-2194
Regression
Yes
[WebGL] "MissingMethodException: Default constructor not found for type" is thrown when loading Asset with Addressables
How to reproduce:
1. Open the user's attached "TestAA2021.zip" project
2. Open the "SampleScene" Scene
3. Go to File -> Build And Run
4. Observe the application
Expected result: Terrain is instantiated
Actual result: Terrain is not instantiated
Reproducible with: 1.18.15 (2021.2.0b1, 2021.2.0b7, 2022.1.0a6)
Not reproducible with: 2018.4.34f1, 2019.4.28f1, 2020.3.12f1, 2021.1.12f1, 2021.2.0a16 (1.18.15)
Can't test with: 2021.2.0a17 - 2021.2.0a21 (Due to existing errors when building)
Notes:
- The issue is not reproducible in the Editor
- The issue is not reproducible in Windows Build
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
- Search text field visual controls for the Path binding in an Input Actions Asset is misaligned
- Display issues in VideoPlayer when using Screen.SetResolution on certain Google Pixel devices
- Memory Leak When Using Rigidbody2D Physics in WebGL
- Crash on Texture::TextureIDMapInsert when opening a specific project
- Null reference exceptions occur when ScriptableObjects saved in the same .asset file are referenced in runtime
Resolution Note:
Addressables needs to be built to know what to prevent being stripped. Or stripping disabled.
Building Addressables is needed before building the Player.