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
- Skinned Mesh Renderer with multiple Animator Components does not render when "Optimize Game Objects" is enabled
- [iOS]Certain characters are not displayed when using iOS devices with 18 OS and newer
- Trees do not render in 'Unity Terrain - URP Demo Scene'
- Silent crash when clicking in Scene View in a specific project
- The Player renders black on a Quest headset when MSAA, Post Processing, and Spacewarm depth submission are enabled
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.