Not signed in
Copyright © 2026 Unity Technologies
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.
Unity 6000.2 has reached its end of life and will not receive further updates. If you need additional fixes, please upgrade to a newer Unity version.
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)
Sign in to see your voted issues