Search Issue Tracker
Fixed
Votes
0
Found in
5.5.0a1
Issue ID
778908
Regression
Yes
Error when building player: "Trying to align type data before anything has been serialized"
-e: see title, build succeeds and I didn't see an issues with the build
-repro:
--create new project
--import the unity standard assets pack from asset store
--start a build (tries Win Standalone + webgl)
--NOTICE the error being thrown and build getting built
Trying to align type data before anything has been serialized!
UnityEditor.BuildPipeline:BuildPlayerInternalNoCheck(String[], String, BuildTarget, BuildOptions, Boolean)
UnityEditor.BuildPlayerWindow:BuildPlayerWithDefaultSettings(Boolean, BuildOptions, Boolean) (at D:/Mercurial/unity/Editor/Mono/BuildPlayerWindow.cs:533)
UnityEditor.BuildPlayerWindow:BuildPlayerWithDefaultSettings(Boolean, BuildOptions) (at D:/Mercurial/unity/Editor/Mono/BuildPlayerWindow.cs:395)
UnityEditor.BuildPlayerWindow:GUIBuildButtons(IBuildWindowExtension, Boolean, Boolean, Boolean, BuildPlatform) (at D:/Mercurial/unity/Editor/Mono/BuildPlayerWindow.cs:1424)
UnityEditor.BuildPlayerWindow:ShowBuildTargetSettings() (at D:/Mercurial/unity/Editor/Mono/BuildPlayerWindow.cs:1359)
UnityEditor.BuildPlayerWindow:OnGUI() (at D:/Mercurial/unity/Editor/Mono/BuildPlayerWindow.cs:948)
System.Reflection.MonoMethod:InternalInvoke(Object, Object[], Exception&)
System.Reflection.MonoMethod:Invoke(Object, BindingFlags, Binder, Object[], CultureInfo) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
System.Reflection.MethodBase:Invoke(Object, Object[]) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MethodBase.cs:115)
UnityEditor.HostView:Invoke(String, Object) (at D:/Mercurial/unity/Editor/Mono/HostView.cs:187)
UnityEditor.HostView:Invoke(String) (at D:/Mercurial/unity/Editor/Mono/HostView.cs:180)
UnityEditor.HostView:OnGUI() (at D:/Mercurial/unity/Editor/Mono/HostView.cs:76)
[D:/Mercurial/unity/Runtime/Serialize/TransferFunctions/GenerateTypeTreeTransfer.cpp line 243]
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Articulation Body with 'Revolute' Joint Type has erratic behavior when Upper Limit is set to above 360
- WebGL Player fails to render Scene when Terrain with Detail Mesh is added and WebGPU Graphics API is used
- Inconsistent errors are logged when different types are passed into the Query "Q<>" method in UIToolkit and the ancestor VisualElement is null
- Crash on GetMaterialPropertyByIndex when opening a specific Scene
- Discrepancies in the styling are present when using a TSS file instead of a USS file in custom EditorWindow
Add comment