Baked particles dont render in final frame #68290
Labels
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
9 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#68290
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Windows-10-10.0.18362 64 Bits
Graphics card: GeForce GTX 980 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 431.60
Blender Version
Broken: version: 2.80 (sub 75), branch: master, commit date: 2019-07-29 14:47, hash:
f6cb5f5449
Worked: 2.79b
Short description of error
Baked particles in final frame shows up in viewport but not in render.
Exact steps for others to reproduce the error
Load attached blend file. bug particle 280.blend
Play animation, move to last frame. Render and you can see the particles fine.
Bake the particles, move to last frame. Render and now particles missing.
Originally attached file:
Bug test particles.blend
Added subscriber: @kosblend
#95583 was marked as duplicate of this issue
#81253 was marked as duplicate of this issue
#97114 was marked as duplicate of this issue
Added subscriber: @dr.sybren
Confirmed on Blender
88a872dd6e
. It has to do with the baking range, because when I change the scene end frame from 20 to 21, bake the particles, reset the scene end frame to 20, and render, it's fine.I'm leaving this for a developer with more knowledge of the particle system. My findings so far:
xxx_000000_00.bphys
toxxx_000005_00.bphys
. In 2.80 that first file with zero index is missing.BKE_ptcache_bake()
: in 2.79pid->totpoint(pid->calldata, 0)
returns the number of particles; in 2.80 this returns 0.BKE_ptcache_write()
: same as above, resulting incfra=0
not being written, which means that the 'info' data in the particle cache isn't written.pid->totpoint(pid->calldata, cfra)
to return 1000 (by hard-codingpsys->totpart = 1000
) fixes the reported problem, as well as causes the zero-index bphys file to be written.I've managed to get the correct number of particles by applying the following patch.
This does fix the missing zero-index bphys file, but still doesn't solve the render issue.
Added subscriber: @ChristophWerner
I'm not sure but I guess, I've the same problem here in 2.81. The particles in the very last frame of my animation will not be rendered.
All frames before the last frame are rendered, when I bake them and save them within the blend file.
My only solution to render the very last particle frame is to cache the particles to disk, but in this case I'm not able to render it on a renderfarm like Renderstreet e.g.
I've read the manual, and found this:
My overall frame range is 1-60.
When I bake the particles for the complete frame range, then frame 60 has no particles.
Is this a bug? When I bake from 1-62 then all is fine and frame 60 has particles. If I use frame 61 as end frame, then it doesn't work.
Because the manual says positive frames only are calculated. Is frame 60 in my animation not a positive frame number?
Sorry if I spam this thread. I can create a new task if my problem is a different topic.
@kosblend Can you check with older versions of Blender to see when this bug was introduced? If this also happened in 2.79, it's unlikely to be fixed (due to the particle system being marked end-of-life). More recent issues will be fixed. Once you figure out which version still worked, please attach a test file that we can open with that version, so that we can figure out more easily what exactly caused it.
@dr.sybren
I tested 2.79, A and B versions and no issues.
The issue appears in 2.80.
Attaching a new blend file, but the original still shows the issue as well,
bug particle 280.blend
Added subscriber: @SteffenD
Added subscriber: @rbtn
I have the same issue on blender 2.93.0 Alpha... This is pretty annoying. I hope someone fixes this.
Actually I'm noticing inconsistent results... I baked my particles and they didn't appear on my last frame (frame 100). I think deleted the bake and re-baked it and they showed up... Whenever I do the trick where I make my animation 1-101 frames and bake, then set back to 1-100 -> it also works consistently...
I hope this gets fixed so we don't need to keep changing our frame count or rebaking over and over until it appears.
Added subscriber: @lichtwerk
Possible duplicates (or at least closely related):
Added subscribers: @Jannes-Nagel, @PratikPB2123
Added subscriber: @mano-wii
This issue was referenced by
d0bcb6efea
This issue was referenced by
405bff7fd8
Changed status from 'Confirmed' to: 'Resolved'
Added subscribers: @Jadon-3, @OmarEmaraDev