NaN in object matrix of instanced objects #76268

Open
opened 2020-04-30 15:31:18 +02:00 by Tyler · 14 comments

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
Blender_Bug.zip
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.

test-test_0059.jpg
test-test_0060.jpg

**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** [Blender_Bug.zip](https://archive.blender.org/developer/F8506090/Blender_Bug.zip) 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. ![test-test_0059.jpg](https://archive.blender.org/developer/F8506147/test-test_0059.jpg) ![test-test_0060.jpg](https://archive.blender.org/developer/F8506151/test-test_0060.jpg)
Author

Added subscriber: @TPVUSA

Added subscriber: @TPVUSA
Author

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

This is what Blender is rendering I found even more bugs. https://www.youtube.com/watch?v=e1ScHjBANLk
Tyler changed title from EEVEE Shadows disaperaing for no goog reason to EEVEE Shadows disappearing for no good reason 2020-04-30 15:51:02 +02:00
Member

Added subscriber: @ankitm

Added subscriber: @ankitm
Member

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.

> 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.
Author

In #76268#921032, @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.

> In #76268#921032, @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.
Author

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.

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.
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

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.

> 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.
Author

In #76268#921372, @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

> In #76268#921372, @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
Author

Blender_Bug.zip test-test_0059.jpg

test-test_0060.jpg

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.

[Blender_Bug.zip](https://archive.blender.org/developer/F8506090/Blender_Bug.zip) ![test-test_0059.jpg](https://archive.blender.org/developer/F8506147/test-test_0059.jpg) ![test-test_0060.jpg](https://archive.blender.org/developer/F8506151/test-test_0060.jpg) 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 changed title from EEVEE Shadows disappearing for no good reason to EEVEE Render: Shadows disappearing every 50 frames, viewport works fine. 2020-05-01 18:48:48 +02:00
Member

Changed status from 'Needs User Info' to: 'Confirmed'

Changed status from 'Needs User Info' to: 'Confirmed'
Author

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.

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 changed title from EEVEE Render: Shadows disappearing every 50 frames, viewport works fine. to EEVEE Render: Shadows disappearing in some frames, viewport works fine. 2020-05-02 09:42:42 +02:00

Added subscriber: @fclem

Added subscriber: @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.
Shadow-SUN_Volume-bug1.blend

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. [Shadow-SUN_Volume-bug1.blend](https://archive.blender.org/developer/F8654473/Shadow-SUN_Volume-bug1.blend)
Clément Foucault changed title from EEVEE Render: Shadows disappearing in some frames, viewport works fine. to NaN in object matrix of instanced objects 2020-06-30 02:50:21 +02:00
Philipp Oeser removed the
Interest
Nodes & Physics
label 2023-02-10 08:46:50 +01:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#76268
No description provided.