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
- ScrollView speed is slower when entering Play mode
- UI Builder elements disappear and "Semantic - Unknown template name" error appears when changes to "Template" parameter are saved
- Renderers outside Light Probe hull use incorrect Ambient Probe values when "Renderer Light Probe Selection" is set to "Use Ambient Probe" and "Light Probes" on Mesh is set to "Blend Probes"
- ArgumentNullException error occurs when selecting a Camera in the Hierarchy with the Scene view open
- Clicking 'Open Editor Log' through the Console fails to open redirected Logs when relative Log files exist outside of the Project root
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.