visualdesigncafe / nature-renderer

Nature Renderer is a plugin for the Unity game engine to efficiently render vegetation on your terrains.
https://visualdesigncafe.com/nature-renderer/
0 stars 0 forks source link

Unity v6 - UnityEditor.Rendering.HighDefinition.OpaqueCullMode not found #76

Open 442FX opened 2 months ago

442FX commented 2 months ago

Describe the bug

NatureRenderer does not render trees.

To Reproduce

Following the Quickstart, https://visualdesigncafe.com/nature-renderer/docs/6/quickstart

  1. Go to Hierarchy view
  2. Select terrain object
  3. Go to Inspector click Add component
  4. Click Nature Renderer,
  5. In Nature Renderer Inspector click Trees -> Add
  6. Search for Conifer and double click
  7. Click Apply NatureRenderer does not render to the terrain.

See Error: Console log: Failed to create MaterialEnum, enum UnityEditor.Rendering.HighDefinition.OpaqueCullMode not found UnityEngine.Material:HasProperty (string) VisualDesignCafe.Rendering.Nature.NatureRendererUtility:SupportsProceduralInstancing (UnityEngine.Material) (at /Users/maxplooi/VDC/Projects/Nature Renderer/Unity/Nature Renderer 2023/Assets/Visual Design Cafe/Nature Renderer/Plugins/Runtime/VisualDesignCafe.Rendering.Nature/NatureRendererUtility.cs:146) VisualDesignCafe.Rendering.Nature.Editor.NatureRendererEditorUtility:HasUnsupportedShaders (System.Collections.Generic.IEnumerable`1) (at /Users/maxplooi/VDC/Projects/Nature Renderer/Unity/Nature Renderer 2023/Assets/Visual Design Cafe/Nature Renderer/Plugins/Editor/VisualDesignCafe.Rendering.Nature.Editor/NatureRendererEditorUtility.cs:56) VisualDesignCafe.Rendering.Nature.Editor.VegetationBlock:HasUnsupportedShaders () (at /Users/maxplooi/VDC/Projects/Nature Renderer/Unity/Nature Renderer 2023/Assets/Visual Design Cafe/Nature Renderer/Plugins/Editor/VisualDesignCafe.Rendering.Nature.Editor/UI/VegetationBlock.cs:446) VisualDesignCafe.Rendering.Nature.Editor.VegetationBlock:OnGui () (at /Users/maxplooi/VDC/Projects/Nature Renderer/Unity/Nature Renderer 2023/Assets/Visual Design Cafe/Nature Renderer/Plugins/Editor/VisualDesignCafe.Rendering.Nature.Editor/UI/VegetationBlock.cs:96) VisualDesignCafe.Rendering.Nature.Editor.NatureRendererEditor:OnInspectorGUI () (at /Users/maxplooi/VDC/Projects/Nature Renderer/Unity/Nature Renderer 2023/Assets/Visual Design Cafe/Nature Renderer/Plugins/Editor/VisualDesignCafe.Rendering.Nature.Editor/UI/NatureRendererEditor.cs:125) UnityEditor.EditorApplication:Internal_CallUpdateFunctions ()

Failed to create material drawer Enum with arguments 'UnityEditor.Rendering.HighDefinition.OpaqueCullMode' UnityEngine.Material:HasProperty (string) VisualDesignCafe.Rendering.Nature.NatureRendererUtility:SupportsProceduralInstancing (UnityEngine.Material) (at /Users/maxplooi/VDC/Projects/Nature Renderer/Unity/Nature Renderer 2023/Assets/Visual Design Cafe/Nature Renderer/Plugins/Runtime/VisualDesignCafe.Rendering.Nature/NatureRendererUtility.cs:146) VisualDesignCafe.Rendering.Nature.Editor.NatureRendererEditorUtility:HasUnsupportedShaders (System.Collections.Generic.IEnumerable`1) (at /Users/maxplooi/VDC/Projects/Nature Renderer/Unity/Nature Renderer 2023/Assets/Visual Design Cafe/Nature Renderer/Plugins/Editor/VisualDesignCafe.Rendering.Nature.Editor/NatureRendererEditorUtility.cs:56) VisualDesignCafe.Rendering.Nature.Editor.VegetationBlock:HasUnsupportedShaders () (at /Users/maxplooi/VDC/Projects/Nature Renderer/Unity/Nature Renderer 2023/Assets/Visual Design Cafe/Nature Renderer/Plugins/Editor/VisualDesignCafe.Rendering.Nature.Editor/UI/VegetationBlock.cs:446) VisualDesignCafe.Rendering.Nature.Editor.VegetationBlock:OnGui () (at /Users/maxplooi/VDC/Projects/Nature Renderer/Unity/Nature Renderer 2023/Assets/Visual Design Cafe/Nature Renderer/Plugins/Editor/VisualDesignCafe.Rendering.Nature.Editor/UI/VegetationBlock.cs:96) VisualDesignCafe.Rendering.Nature.Editor.NatureRendererEditor:OnInspectorGUI () (at /Users/maxplooi/VDC/Projects/Nature Renderer/Unity/Nature Renderer 2023/Assets/Visual Design Cafe/Nature Renderer/Plugins/Editor/VisualDesignCafe.Rendering.Nature.Editor/UI/NatureRendererEditor.cs:125) UnityEditor.EditorApplication:Internal_CallUpdateFunctions ()

[Worker5] Failed to create MaterialEnum, enum UnityEditor.Rendering.HighDefinition.OpaqueCullMode not found

[Worker5] Failed to create material drawer Enum with arguments 'UnityEditor.Rendering.HighDefinition.OpaqueCullMode'

Expected behavior See trees when in Play or in Scene views

Project(please complete the following information):

System (please complete the following information):

442FX commented 2 months ago

Am I the only one running NRv6 with Unity 6? I purchased this because it claimed to support it, or am I missing something here.

NicoMozes commented 1 month ago

I just upgraded my project to U6 and NR6. Getting the same error.