eidosmontreal / unreal-vdb

This repo is a non-official Unreal plugin that can read OpenVDB and NanoVDB files in Unreal.
Apache License 2.0
690 stars 109 forks source link

"Assertion Failed" When attempting to render sequence UE 5.2.1 #92

Closed REEEV3S closed 1 year ago

REEEV3S commented 1 year ago

image

Not sure whats triggering this or how I can start to debug it. Im on UE 5.2.1 and using the latest sparse volumetric, will provide more info if necessary.

"Assertion failed: IndexLastChunk < VdbSequence->GetNbFrames() [File:D:\Dev\UE_Projects\SparseVolumetricsBuilds\SparseVolumetrics\HostProject\Plugins\SparseVolumetrics\Source\Runtime\Private\VdbSequenceComponent.cpp] [Line: 312]"

image

thilamb commented 1 year ago

Thanks, I would love to know more about your scene.

Would you be able to share your project privately , ideally the lightest version of it ?

REEEV3S commented 1 year ago

if anyone else gets this issue uncheck "looping" on your vdb, thank you so much thilamb for the incredibly simple solution

thilamb commented 1 year ago

To be more precise, a VDB grid was invalid at a certain frame, causing the import to skip the frame and create a disparity between VDB grids.

I pushed a fix to cancel import when detecting invalid data. Invalid VDB sequences will not crash in editor anymore.

Thanks for reporting the issue !