Search Issue Tracker

Won't Fix

Won't Fix in 6000.5.X

Votes

0

Found in

6000.0.58f1

6000.2.6f1

6000.3.0b2

6000.4.0a1

6000.5.0a1

Issue ID

UUM-119558

Regression

No

Opening Terrain Prefab in Prefab Editing Mode throws "NullReferenceException" error

Terrain

-

Steps to reproduce:
1. Create new Unity project
2. In Hierarchy create Terrain GO
3. Drag Terrain GO to Project window to create Prefab
4. In Hierarchy press on ">" to open Terrain Prefab in Prefab Editing Mode
5. Observe the Console window

Actual results: "NullReferenceException: Object reference not set to an instance of an object" error is thrown in the Console window
Expected results: No errors should be thrown in the Console window

Reproducible with versions: 6000.0.58f1, 6000.2.6f1, 6000.3.0b2, 6000.4.0a1

Tested on (OS): Windows 11

Full error:
NullReferenceException: Object reference not set to an instance of an object
UnityEditor.TerrainInspector.Raycast (UnityEngine.Vector2& uv, UnityEngine.Vector3& pos) (at <97a8860f371149d8a981217f223d809c>:0)
UnityEditor.TerrainInspector.OnGetFrameBounds () (at <97a8860f371149d8a981217f223d809c>:0)
System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <59bd7c40c082431db25e1e728ab62789>:0)
Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation.
System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) (at <59bd7c40c082431db25e1e728ab62789>:0)
System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) (at <59bd7c40c082431db25e1e728ab62789>:0)
UnityEditor.SceneView.FrameSelected (System.Boolean lockView, System.Boolean instant) (at <8081513dc2364383b8289d30d2169b2e>:0)
UnityEditor.SceneManagement.PrefabStage.DelayedFraming () (at <8081513dc2364383b8289d30d2169b2e>:0)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at <8081513dc2364383b8289d30d2169b2e>:0)

  1. Resolution Note:

    Thank you for reporting a bug to Unity.

    We have reviewed the issue carefully, and in this case, the team is unable to prioritize fixing this bug. There are a number of reasons we make this decision, including the impact and severity of the issue across our user and customer base, and the possibility that future plans may solve the problem in a different way, or that a workaround for the bug may be available.

    Today we will be closing this case. Thank you again for taking the time to report this issue, and please let us know if there is anything else that changes the impact or severity of this issue.

  2. Resolution Note (6000.5.X):

    Thank you for reporting a bug to Unity.

    We have reviewed the issue carefully, and in this case, the team is unable to prioritize fixing this bug. There are a number of reasons we make this decision, including the impact and severity of the issue across our user and customer base, and the possibility that future plans may solve the problem in a different way, or that a workaround for the bug may be available.

    Today we will be closing this case. Thank you again for taking the time to report this issue, and please let us know if there is anything else that changes the impact or severity of this issue.

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.