Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

Lighting window > object > preview Baked Intensity not working

Discussion in '5.4 Beta' started by forestrf, Apr 3, 2016.

  1. forestrf

    forestrf

    Joined:
    Aug 28, 2010
    Posts:
    231
    Unity 5.4.0b12
    Selecting a object in Hierarchy and inspecting it inside the lighting window, object tab, gives a problem when trying to look at the baked intensity. Unity logs the error:
    Code (csharp):
    1. NullReferenceException: Object reference not set to an instance of an object
    2. UnityEditor.LightingWindowObjectTab.ObjectPreview (Rect r) (at C:/buildslave/unity/build/Editor/Mono/SceneModeWindows/LightingWindowObjectTab.cs:185)
    3. UnityEditor.LightingWindow.PreviewSection () (at C:/buildslave/unity/build/Editor/Mono/SceneModeWindows/LightingWindow.cs:291)
    4. UnityEditor.LightingWindow.OnGUI () (at C:/buildslave/unity/build/Editor/Mono/SceneModeWindows/LightingWindow.cs:245)
    5. System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at /Users/builduser/buildslave/mono/build/mcs/class/corlib/System.Reflection/MonoMethod.cs:222)
    Capture.PNG