0
Fixed

Error in AOT pre build

pr.andersonvalerio 3 years ago updated by Lazlo Bonin (Lead Developer) 3 years ago 6

Hi, when I execute AOT pre build in my project I get the following error in console was result ( after AOT finished):

NullReferenceException: Object reference not set to an instance of an object
UnityEngine.GUILayout.FlexibleSpace () (at /Users/builduser/buildslave/unity/build/Runtime/IMGUI/Managed/GUILayout.cs:282)
Ludiq.AotPreBuildPage.OnContentGUI () (at C:/Users/Lazlo/Projects/Ludiq/Ludiq.Core/Editor/Windows/AotPreBuildWindow/AotPreBuildPage.cs:64)
Ludiq.Page.DrawContent () (at C:/Users/Lazlo/Projects/Ludiq/Lud

Bolt Version:
Unity Version:
Platform(s):
Scripting Backend:
.NET Version (API Compatibility Level):
Pending Review

Thanks for the report! This seems like a small harmless GUI error. Does it keep AOT pre-build from completing or working?

Yes, AOT pre-build complete, give the follow message:

"AOT pre-buil has completed.

The generated linker file is located at ....

The generate ..."


But, for now I did´nt received the erro !?!?!?! Disapears !!!

Not a Bug

I'll close this for now as it's just a minor GUI issue and has no real impact on the build.