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

Package: Build Pipeline - 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

  1. 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.

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.