noise module gives an error on play

nothing special about my project. but when i just turn particle system’s noise module on and play the project i always got the errors on the the attached image.

none of the other modules produce such a thing but only noise module.
is there something i don’t know or could it be bug about this noise module ?

Nothing to do with 2D but I’ll add a tag onto your post of “particles”. A particle dev should spot this, they may know more.

You are also free to submit a bug report too.

First red flag is looks like something is using GUI from outside of OnGUI(). Click on that error and fix it.

And don’t use GUI, it’s been deprecated and replaced by UGUI for nearly ten years now.

Second red flag is you have nullreffs. Those must be fixed immediately if they are your code.

How to fix a NullReferenceException error

https://forum.unity.com/threads/how-to-fix-a-nullreferenceexception-error.1230297/

Steps to success:

  • Identify what is null
  • Identify why it is null
  • Fix that

Dear Kurt
all of those flags popping up alltogether when i turn the noise module on and i don’t use any gui afaik…coz i don’t know what is gui and how to use it…
and i still try to figure out why only that noise module produce all those errors…

This isn’t something we know about already. Please submit a bug report and we will look into it! Thanks

If you make a blank project, create a particle system, turn on the noise, do you get those errors?

If so, then as Mr Kettlewell notes above, please file a bug report from that blank project using the Unity menu system (Help-> Report Bug)

If not, then start isolating all the different parts of what you’re doing in the project that has the error, perhaps using bisection of the problem space.

1 Like

report sent…thanks

1 Like