Skip to content

NullReferenceException Error when trying terrain hlod #112

Description

@youngwoocho02

what is this error and how to fix it?

NullReferenceException: Object reference not set to an instance of an object
Unity.HLODSystem.SpaceManager.QuadTreeSpaceSplitter.CreateTargetInfoList (System.Collections.Generic.List1[T] gameObjects, UnityEngine.Transform transform) (at C:/Unity Workspace/HLOD/HLODSystem/com.unity.hlod/Editor/SpaceManager/QuadTreeSpaceSplitter.cs:214) Unity.HLODSystem.SpaceManager.QuadTreeSpaceSplitter.CreateSpaceTree (UnityEngine.Bounds initBounds, System.Single chunkSize, UnityEngine.Transform transform, System.Collections.Generic.List1[T] targetObjects, System.Action`1[T] onProgress) (at C:/Unity Workspace/HLOD/HLODSystem/com.unity.hlod/Editor/SpaceManager/QuadTreeSpaceSplitter.cs:102)
Unity.HLODSystem.TerrainHLODCreator+d__35.MoveNext () (at C:/Unity Workspace/HLOD/HLODSystem/com.unity.hlod/Editor/TerrainHLODCreator.cs:1100)
Unity.HLODSystem.Utils.CustomCoroutine.MoveNext () (at C:/Unity Workspace/HLOD/HLODSystem/com.unity.hlod/Runtime/Utils/CoroutineRunner.cs:47)
Unity.HLODSystem.Utils.CoroutineRunner.EditorUpdate () (at C:/Unity Workspace/HLOD/HLODSystem/com.unity.hlod/Runtime/Utils/CoroutineRunner.cs:134)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at <6a5b55f2e18b419e9faedac06ac6af94>:0)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions