Ask a Question
ConsoleFlow class layout mismatch error while exporting unity project
I am getting ConsoleFlow class layout mismatch error while exporting the project with below unity and Bemable SDK configuration:
Unity version: 2022.3.30f1
Beamable SDK version: 4.0.3
here is the callstack log
Fields serialized in target platform, class 'Beamable.Console.ConsoleFlow'
[2026-01-15T14:14:12.363Z] 'canvas' of type 'UnityEngine.Canvas'
[2026-01-15T14:14:12.363Z] 'txtOutput' of type 'UnityEngine.UI.Text'
[2026-01-15T14:14:12.363Z] 'txtInput' of type 'UnityEngine.UI.InputField'
[2026-01-15T14:14:12.363Z] 'txtAutoCompleteSuggestion' of type 'UnityEngine.UI.Text'
[2026-01-15T14:14:12.363Z] 'consolePortrait' of type 'UnityEngine.RectTransform'
[2026-01-15T14:14:12.363Z] 'consoleLandscape' of type 'UnityEngine.RectTransform'
[2026-01-15T14:14:12.363Z] 'acceptSuggestionKey' of type 'UnityEngine.KeyCode'
[2026-01-15T14:14:12.363Z] 'acceptSuggestionAction' of type 'Beamable.InputManagerIntegration.InputActionArg'
[2026-01-15T14:14:12.363Z] 'historyPreviousKey' of type 'UnityEngine.KeyCode'
[2026-01-15T14:14:12.363Z] 'historyNextKey' of type 'UnityEngine.KeyCode'
[2026-01-15T14:14:12.363Z] 'historyNextAction' of type 'Beamable.InputManagerIntegration.InputActionArg'
[2026-01-15T14:14:12.363Z] 'historyPreviousAction' of type 'Beamable.InputManagerIntegration.InputActionArg'
[2026-01-15T14:14:12.363Z] UnityEngine.StackTraceUtility:ExtractStackTrace () (at /Users/bokken/build/output/unity/unity/Runtime/Export/Scripting/StackTrace.cs:37)
[2026-01-15T14:14:12.363Z] UnityEditor.BuildPipeline:BuildPlayerInternal (string[],string,string,UnityEditor.BuildTargetGroup,UnityEditor.BuildTarget,int,UnityEditor.BuildOptions,string[]) (at /Users/bokken/build/output/unity/unity/Editor/Mono/BuildPipeline.bindings.cs:510)
[2026-01-15T14:14:12.363Z] UnityEditor.BuildPipeline:BuildPlayer (string[],string,string,UnityEditor.BuildTargetGroup,UnityEditor.BuildTarget,int,UnityEditor.BuildOptions,string[]) (at /Users/bokken/build/output/unity/unity/Editor/Mono/BuildPipeline.bindings.cs:375)
[2026-01-15T14:14:12.363Z] UnityEditor.BuildPipeline:BuildPlayer (UnityEditor.BuildPlayerOptions) (at /Users/bokken/build/output/unity/unity/Editor/Mono/BuildPipeline.bindings.cs:339)
[2026-01-15T14:14:12.363Z] DSBuildPlayer:BuildAndroid (DSBuildPlayerSettings) (at Assets/Editor/DSBuildPlayer.cs:174)
[2026-01-15T14:14:12.363Z] DSBuildPlayer:BuildAndroid () (at Assets/Editor/DSBuildPlayer.cs:58)
[2026-01-15T14:14:12.363Z]
[2026-01-15T14:14:12.363Z] [/Users/bokken/build/output/unity/unity/Editor/Mono/BuildPipeline.bindings.cs line 510]
[2026-01-15T14:14:12.363Z]
[2026-01-15T14:14:12.363Z] Error building player because script class layout is incompatible between the editor and the player.
