Hi everyone,
I’m hitting a roadblock with a packaged build error stemming from a PCG graph using a Mesh Sampler node to dynamically convert static meshes into dynamic meshes at runtime.
The graph runs flawlessly in PIE (Play in Editor), but as soon as I run a packaged build, the graph fails and throws this error in the log:
LogPCG: Error: Failed to convert Static Mesh to Dynamic Mesh because LOD data is not available.Here is my current setup on the target assets:
- Allow CPU Access: Explicitly checked/enabled on the Static Mesh settings.
- Nanite: Completely disabled.
- LODs: The meshes have at least 3 valid LOD levels.
- PCG Mesh Sampler Settings: LOD settings are configured as shown in the image attached.
Given that
Allow CPU Access is active and Nanite is off, it seems the Cooker is still aggressively stripping out the vertex buffers or LOD 0 index arrays during the packaging phase, leaving the runtime sampler with no data to read.Has anyone encountered this specific interaction between the Cooker and the PCG runtime mesh sampler? Are there project-level packaging settings, target platform overrides, or specific asset settings I need to adjust to force the cooker to preserve this data in a shipping build?
Thanks in advance for any insights!
[Attachment Removed]