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

Trees and grasses disappear #25

Open masscube opened 6 months ago

masscube commented 6 months ago

Describe the bug I have a strange bug. The trees and grasses suddenly disappear when I fly over the terrain with the camera. See the video.

There are a total of 16 terrains each with a resolution of 1024 x 1024 (terrain width/height) and terrain details also of 1024 x 1024.

I use Unity 2022.3 HDRP and the Nature Renderer with the latest version 2022.0.0.

Link to the video that shows this problem : VIDEO

To Reproduce Steps to reproduce the behavior:

  1. Create 16 Terrains with each Terrain 1024 x 1024
  2. Add Some gras and trees
  3. Add Nature Renderer on all Terrains
  4. Fly around the Terrains and see the problem

Expected behavior The trees and grasses do not suddenly disappear, as can be seen in the example video.

Screenshots

(Without Nature Renderer - it works) nrenderer

(with Nature Renderer - the Terrains on the right side has no trees and grasses) nrenderer2

Project(please complete the following information):

System (please complete the following information):

masscube commented 6 months ago

Here another Video: https://massive-cube.com/work/problem/natureRenderer2.mkv Is this a bug or is there something wrong with the settings? I can't get any further.

reVirtual commented 5 months ago

1713961206652 Try disable [Only Initialize Within Rendering Distance] in NR, I use then same version of unity and NR to u, it works for me. I don't really know why, most likely it's a bug.

preble commented 5 months ago

I encountered the same issue with my project after upgrading from Unity 2021.3 to 2022.3 and NR 2022.0.1: when moving the camera a significant distance (1000+ units) from where it started, terrain tiles near the camera would immediately stop rendering trees/details. Updating the floating world origin also seemed to temporarily fix the issue (previously this was not necessary at such a close distance).

Disabling OnlyInitializeWithinRenderingDistance seems to work around the problem altogether though.

dongfangliu commented 4 months ago

Disabling OnlyInitializeWithinRenderingDistance works for me too. This shall be a bug in this option.

tony-bera commented 1 month ago

i am facing the same issue but i do not have the OnlyInitializeWithinRenderingDistance option in my NR, did anyone find any other way to fix this? Screenshot 2024-08-19 194528