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
- [VFX Graph] Base Color Map Inconsistency between Lit and Unlit Ouput
- [HDRP] Water is using the wrong depth when calculating absorption for alpha clipped transparents with depth prepass enabled
- [VFX Graph] Emissive isn't working with Decal output
- Gizmos are not drawn in Game view and Render Graph Execution errors are shown when stacked Overlay Camera is used and 'Compatibility Mode' is disabled
- Crash on WalkTypeTreeInternal when selecting the Texture of a specific FBX
Add comment