-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
Hi,
we have ExtEvents in our project, but it causes a strange error. In WebGL builds, when addressables are used, the error appears in the build:
A scripted object (probably AddressableScene?) has a different serialization layout when loading. (Read 52 bytes but expected 56 bytes)
Did you #ifdef UNITY_EDITOR a section of your serialized properties in any of your scripts?
As soon as ExtEvents are removed, the error no longer occurs. The script in which the error occurs could be reduced to:
using System;
using UnityEngine;
using UnityEngine.AddressableAssets;
public class AddressableScene : MonoBehaviour
{
public AssetReference sceneToLoad;
}
Thank you and best regards
Metadata
Metadata
Assignees
Labels
No labels