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
- [Render Graph Viewer] Resource list icons cropped and in inconsistent positions
- Scene View with Debug Draw Mode enabled is gray when GPU Resident Drawer is enabled
- The UI is not visible when resizing out of focus built Player window with Application.runInBackground set to false
- [Linux] "Error while reading movie" errors are thrown when opening templates
- Shader warnings are being thrown after building Mixed Reality Template
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.