The Turbulence node in biome noise files does not work and will crash the game.
I discovered the reason was due to faulty code in ONI. In ProcGen.Noise.Transformer.CreateModule(), it has logic for Turbulence but is missing a return statement (and instead falls back to returning a Displace transformer). This then fails with a NullReferenceException because it tries to cast the erroneous Displace to a Turbulence instance (because the transformerType is Turbulence).
Attached files:
- Crash log
- The biome noise file I was testing
- Image showing the biome noise graph
EDIT: For anyone running into this, the Displace node acts similar to Turbulence, and I was able to switch it out for my use case.
Steps to Reproduce
- Replace any biome noise file with DarkCave.yaml.
- Create a new asteroid with that biome.
- Freeze on loading screen.
A developer has marked this issue as fixed. This means that the issue has been addressed in the current development build and will likely be in the next update.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now