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

5.1.1 Packaging Error #62

Closed azjata closed 1 year ago

azjata commented 1 year ago

Plugin works correctly in the editor. When packaging for Windows the project does not package.

Enabled r.ShaderDevelopment in the ConsoleVariables. Attaching the Error Log

image

thilamb commented 1 year ago

Hello,

I fixed a similar issue in version 0.6.5.

Could you please confirm if you still have this issue with 0.6.5 ?

thilamb commented 1 year ago

If you're not using VdbPrincipledActors (you're probably not since you're trying to package a game), I have this ugly hack to temporarily help you:

Open file: <wherever your vdb plugin is>\Plugins\SparseVolumetrics\Shaders\Private\VdbPrincipled.usf Change line 339 from float4 Radiance = VdbFogVolume(uint2(SvPosition.xy)); to float4 Radiance = 0.0;//VdbFogVolume(uint2(SvPosition.xy));

azjata commented 1 year ago

the issue is still occuring in 0.6.5 although the "ugly hack" allows me to package without throwing the error, so that workaround works fine

thilamb commented 1 year ago

I update the plugin with a tentative fix. Hopefully it will help (without the ugly hack). Let me know.