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"

Deployment Management

-

-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]

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.