Sign in to follow this  

Using Turbulence in biome noise file crashes

  • Branch: Live Branch Version: Windows Fixed

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.

output_log.txt DarkCave.yaml

Steps to Reproduce
  1. Replace any biome noise file with DarkCave.yaml.
  2. Create a new asteroid with that biome.
  3. Freeze on loading screen.


Sign in to follow this  

User Feedback

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.

Changed Status to Fixed

Just wanted to mention this has been fixed in Spaced Out. It will be fixed in the base game when we finish merging the codebase. Note that there was also a bug in the version of libnoise-dotnet we are using in Select.cs, only one of the two input modules were hooked up.

  • Thanks 1

Share this comment

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now