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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Add comment