You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 9, 2025. It is now read-only.
I had an issue with using your architecture with WebGL, specifically: A scripted object (probably DanielEverland.ScriptableObjectArchitecture.Events.Listeners.Vector3GameEventListener?) has a different serialization layout when loading. (Read 340 bytes but expected 352 bytes) Did you #ifdef UNITY_EDITOR a section of your serialized properties in any of your scripts?
This only seems to happen when I build and run (which reinforces the "Did you #ifdef UNITY_EDITOR a section…" bit). I've been able to fix the issue by removing #if UNITY_EDITOR from the serialized field _debugValue in the GameEventBase and BaseGameEventListener classes.
I thought I’d raise an issue just in case someone else experiences it. Probably won't cause too much harm by having some unused serialized fields in a build…