- Home /
UnityEngine.UI.Graphic.OnRebuildRequested ()
Since I upgraded my project to Unity 5.3 I keep getting this error
NullReferenceException: Object reference not set to an instance of an object UnityEngine.UI.Graphic.OnRebuildRequested () (at C:/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/Graphic.cs:466) UnityEngine.UI.GraphicRebuildTracker.OnRebuildRequested () (at C:/buildslave/unity/build/Extensions/guisystem/UnityEngine.UI/UI/Core/GraphicRebuildTracker.cs:33) UnityEngine.CanvasRenderer.RequestRefresh () (at C:/buildslave/unity/build/artifacts/generated/common/modules/UI/CanvasRendererBindings.gen.cs:314)
though I can build my project (Android) but the game crash immediately on startup
well I fixed the problem $$anonymous$$cAfee was causing it since it has expired I uninstall it fore those who are getting the same error you could ether uninstall $$anonymous$$cAfee or disabling it. I t might be any antivirus cousing this error so check your antivirus. But now for some reason my app crash on startup on android if anybody knows how to fix that please help.
Answer by demonpants · Jan 11, 2016 at 02:05 AM
I'm having the same issue. Awesome. I'm using 5.3.1p2. Guess I'll try making a bug report...
Answer by markoal · Jan 13, 2016 at 10:30 AM
Same here. I'm having the same bug (Unity 5.3.1f1), not always, sometimes, still could not find what it is, I also have bug:
Trying to add (Layout Rebuilder for) Bottom (UnityEngine.RectTransform) for layout rebuild while we are already inside a layout rebuild loop
However, that is probably the cause of resizing game window in an editor, and I'm not sure is it connected with the previous bug.
Btw, @Smaika, I doubt that antivirus is the cause.
Your answer
Follow this Question
Related Questions
yield WaitForSeconds(1) ends with this error:ArgumentException: method return type is incompatible 2 Answers
Failed to re-package resources even I make blank project 3 Answers
How can I make a new line in Unity UI text? 2 Answers
Canvas Problem 1 Answer
IsPointerOverGameObject() always true 3 Answers