Addressables fails to load on Web GL with Faster (Smaller) builds IL2CPP Code Generation

Hi, I collide with issue after switched on beta (beause I really need astc texture compression for my project)

On Unity 2021.2.b3 (before minimal stripping level was introduced) Im geting exception

Not implemented: Class::FromIl2CppType
app.framework.js.gz:2 MethodAccessException: Attempt to access method ‘System.Collections.Generic.ICollection<UnityEngine.ResourceManagement.ResourceLocations.IResourceLocation>.get_Count’ on type ‘’ failed.

Not implemented: Class::FromIl2CppType
app.framework.js.gz:2 MethodAccessException: Attempt to access method 'System.Collections.Generic.ICollection<UnityEngine.ResourceManagement.ResourceLocations.IResourceLocation>.get_Count' on type '' failed.

After Unity 2021.2.b4 exception looks different

app.loader.js:1 exception thrown: RuntimeError: null function or function signature mismatch,RuntimeError: null function or function signature mismatch

Invoking error handler due to
RuntimeError: null function or function signature mismatch

The code which I want to run is very simple

Addressables.InstantiateAsync("cube.prefab");

cube.prefab are in Remote group

With Faster Runtime IL2CPP Code Generation it works, but with Smaller Builds not.

Any thoughts?

Ping!

Hi @vadimtihonyuk ,

We’ve received your bug report about this issue and it has been assigned for processing.

1 Like

Huge thanks!

I close this thread, since conversation moved to