River Modeler Documentation

River Modeler

River Modeler
Version: 1.0.1
Review

6.Troubleshooting/FAQ #

At all times you must ensure your project is free of any console errors. Unresolved code errors will prevent this asset’s code from compiling and executing.

Console errors

Failed to generate emitters. The VFX Graph 'Water Surface Splashes' rendering output is missing.

This means the VFX Graph for water splashes broke because it was imported without URP being installed. As a result, the particle rendering output node in the graph disappeared.

Solution: re-import the package from the asset store

Maximum amount of particle emitters exceeded (16384).

Solution: Change the spawning criteria so fewer emitters are created. Such as increasing distances, or using multiple components for a different sections of the river.

Error CS1061: 'SplinePath' does not contain a definition for 'useTrenchCurve'

Solution: Update to a more recent version of MicroVerse (v1.7.2+)

Mesh Generation

Overlapping triangles in tight corners

This is a limitation of the method in which the topology is generated.

Increasing the “Turn Filter” value under the “Triangulation” tab can mitigate this

When creating a prefab from a river, the mesh disappears when loading it in

Unity saves procedural geometry with the scene file, as each of them are unique. Outside of the scene it was created in (such as in a prefab), the data will be gone.

Solution: Export the river as an FBX mesh, and use that in the prefab instead

FBX exporting functionality is on the backlog

Misc

Demo scene has pink objects in it

The demo scene was constructed using Universal Render Pipeline materials, which your project isn’t configured for.

The river material renders just, which is what’s important here.

 

Yes No Suggest edit
Last updated on March 5, 2024
0 of 0 users found this section helpful
Suggest Edit