Hi,
I’m on a tight deadline and need help.
Corona suddenly returns a nan error:
===== Warning(-19) =====
An internal error has occurred causing your image to contain NaN (Not a Number) value.
Please report the bug with the scene attached. We can fix these problems promptly if we have the scene where it happens.
Hi,
Please provide the scene as suggested. Without the scene, developers can’t know what’s causing NANs to appear. You can upload it to the private uploader: Chaos
Also, it is highly recommended to update to latest Corona. Many NAN errors were fixed in recent versions.
I get this message when the button is pressed, but not every time I use it, and I didn’t notice any actual problem in my renders if I just press ignore line in messenger window
It might be faster for you to fix the scene for yourself, but the issue will remain unsolved and you or someone else, eventually will stumble upon it again. If you could provide the scene, developers would fix the code, to ensure that the error won’t happen again. Your scene would be handled confidentally and would only be used to fix the issue.
m getting the same error, it wasnt there before but when i was working on night time lighting it appeared twice, then i restarted 3ds max it worked again but after some time it appeared again…
m using 3ds max 2020 , corona renderer6 RC4
please solve my problem , m in middle of my project.
Just as a note, NaNs are usually random, because raytracing has randomness in it. Sometimes, the exact rays that caused the NaN do not happen - but sometimes they do. If the scene ever gave a NaN, and nothing was fixed or changed, then chances are it will come back again at some point (and then go away again, and so on). So, as a better safe than sorry, still best to submit the scene so we can look into it
Hi, if you are getting a NaN error, please contact us at https://support.chaos.com/hc/en-us/requests/new
We will either find the root cause or forward the case to our developers for further investigation.
I’m also having problems with NaN since a few days, i updated to the latest corona version and sent the scene to the support right away, but they couldn’t help me so far. Is there a way to find de corrupt object by myself? im running out of time and the scene is to big to find it by chance.
Thanks a lot for any advice
Im Using
Corona Version • 12 Update 2
and
Cinema 4D 2025.0.1 (Student License) (Build 2025_0_5b173c7692f9_1454601850) OSX
Files of any size can be attached to the ticket, there isn’t a limitation there.
The general way to find culprits is what you could call “bifurcation” I suppose - hide half of the scene, see if the problem continues. If yes, hide half of what was left. If no, unhide the hidden half and hide the unhidden half. And keep cutting in half until you have a manageable number of objects to check.
OFC it might not be so straightforward for a NAN, as it could be a couple of objects interacting with each other, but at least it’s a (relatively) quick way to test to see.