Maniphest T76268

NaN in object matrix of instanced objects
Confirmed, NormalBUG

Assigned To
None
Authored By
Tyler (TPVUSA)
Apr 30 2020, 3:31 PM
Tags
  • BF Blender
  • Nodes & Physics
Subscribers
Ankit Meel (ankitm)
Clément Foucault (fclem)
Tyler (TPVUSA)

Description

System Information
Ryzen 7 3800x
31.9 GB Ram
Operating system: Windows 10
Graphics card: Nvidia 2060 6GB Ram

I tested the same scene out on my other box and the problem happened. Both machines are running RTX 2060s. One is a Intel box and the other AMD.

Blender Version 2.81 and 2.82a
Worked: Nothing has worked

Error
YouTube link to render glitches: https://youtu.be/e1ScHjBANLk

Whenever I start a render, around frame 58 the sun shadows just disappear.
If I close the scene and open it back up and render the frame where the shadows disappear, it will render fine. But after about 50 or so frames the shadows disappear again.
It works fine in viewport.

note
I deleted the volume light box with just a 1000 floating sprite boxes for the dust inside the garage. After that, the issue went away all together. I then added the volume box back and the problem happened again. It must have something to do with volume lighting. The grass outside is over 12k clones using a particle hair so it has something to do with volume lighting and particles inside a object.

Files


It was 12 GB, removed extra elements and brought it down to this.
Around frame 60 if you render the animation 1-300 the shadow will disappear. Escape the render… The viewport will continue to display the shadow. But after the shadow disappears during the render, and without closing and reopening Blender, whenever you render that frame, the shadow “sun light” is absent.


Event Timeline

Tyler (TPVUSA) created this task.Apr 30 2020, 3:31 PM
Tyler (TPVUSA) added a comment.Apr 30 2020, 3:44 PM

This is what Blender is rendering I found even more bugs. https://www.youtube.com/watch?v=e1ScHjBANLk

Tyler (TPVUSA) renamed this task from EEVEE Shadows disaperaing for no goog reason to EEVEE Shadows disappearing for no good reason.Apr 30 2020, 3:51 PM
Tyler (TPVUSA) updated the task description.Apr 30 2020, 3:53 PM
Ankit Meel (ankitm) added a subscriber: Ankit Meel (ankitm).Apr 30 2020, 6:34 PM

The scene is 12 GB in size with maps and all, will need to work out a delivery method.

One should reduce the scene objects just above till it doesn't happen anymore.

Tyler (TPVUSA) added a comment.Apr 30 2020, 8:35 PM
In T76268#921032, @Ankit Meel (ankitm) wrote:

The scene is 12 GB in size with maps and all, will need to work out a delivery method.

One should reduce the scene objects just above till it doesn't happen anymore.

I deleted objects and scaled all the maps down till the scene was only consuming 4GB of memory same result shadow just disappears randomly.

Tyler (TPVUSA) added a comment.May 1 2020, 12:46 AM

Figured it out, It has nothing to do with file size or object complexity. I deleted the volume light box with just a 1000 floating sprite boxes for the dust inside the garage. After that, the issue went away all together. I then added the volume box back and the problem happened again. It must have something to do with volume lighting. The grass outside is over 12k clones using a particle hair so it has something to do with volume lighting and particles inside a object. If Blender is really serious about winning over Max and Maya users, then get back to me I can send the scene via a zip file. I tested the same scene out on my other box and the problem happened. Both machines are running RTX 2060s. One is a Intel box and the other AMD.

Ankit Meel (ankitm) changed the task status from Needs Triage to Needs Information from User.May 1 2020, 8:08 AM

then get back to me I can send the scene via a zip file.

It was asked in the form itself. Please remove extraneous elements which totally do not contribute to the bug. A better approach would be to bring problematic objects only to a new blend file and upload the zip.

What's the deal with no pause or stop rendering on an animation?

I think esc should work ? If not, I just close the render window and I'm back to the main.

Tyler (TPVUSA) added a comment.May 1 2020, 3:53 PM
In T76268#921372, @Ankit Meel (ankitm) wrote:

then get back to me I can send the scene via a zip file.

It was asked in the form itself. Please remove extraneous elements which totally do not contribute to the bug. A better approach would be to bring problematic objects only to a new blend file and upload the zip.

What's the deal with no pause or stop rendering on an animation?

I think esc should work ? If not, I just close the render window and I'm back to the main.

Roger that will do

Tyler (TPVUSA) added a comment.May 1 2020, 6:27 PM

Around frame 60 if you render the animation 1-300 the shadow will disappear. Escape the render… The viewport will continue to display the shadow. But after the shadow disappears during the render and without closing and reopening Blender whenever you render a frame the shadow “sun light” is absent.

Ankit Meel (ankitm) renamed this task from EEVEE Shadows disappearing for no good reason to EEVEE Render: Shadows disappearing every 50 frames, viewport works fine. .May 1 2020, 6:48 PM
Ankit Meel (ankitm) changed the task status from Needs Information from User to Confirmed.
Ankit Meel (ankitm) updated the task description.
Ankit Meel (ankitm) added projects: Render Pipeline, Eevee, Nodes & Physics.
Ankit Meel (ankitm) updated the task description.May 1 2020, 6:50 PM
Tyler (TPVUSA) added a comment.May 1 2020, 9:44 PM

It’s not every 50 frames sometimes its 3 when you are closer to the volume lighting if you close blender and start it up again from the frame the shadow disappeared from it will maybe render 2 or 5 frames before losing the shadow. Its random but a bug never the less.

Ankit Meel (ankitm) renamed this task from EEVEE Render: Shadows disappearing every 50 frames, viewport works fine. to EEVEE Render: Shadows disappearing in some frames, viewport works fine. .May 2 2020, 9:42 AM
Brecht Van Lommel (brecht) edited projects, added EEVEE & Viewport; removed Nodes & Physics, Render Pipeline.May 13 2020, 9:25 PM
Clément Foucault (fclem) removed a project: Eevee.Jun 19 2020, 10:06 PM
Clément Foucault (fclem) edited projects, added Nodes & Physics; removed EEVEE & Viewport.Jun 30 2020, 2:49 AM
Clément Foucault (fclem) changed the subtype of this task from "Report" to "Bug".
Clément Foucault (fclem) added a subscriber: Clément Foucault (fclem).

The issue happens because the instanced object (OBSphere.001) is wrongly evaluated and has NaNs in place of its obmat. Leading to an infinitly large cascade.

So this is a particle system issue.

The bug disapear if the number of particle changes (I guess the cache is cleared) so I don't know if that's because of the cached data or if the simulation of this particular setup is causing the NaNs.

Here is a much simpler file to test with.

Clément Foucault (fclem) renamed this task from EEVEE Render: Shadows disappearing in some frames, viewport works fine. to NaN in object matrix of instanced objects.Jun 30 2020, 2:50 AM
Dalai Felinto (dfelinto) moved this task from Backlog to Bugs on the Nodes & Physics board.Mar 2 2021, 11:29 AM