I can’t package my game (on Windows) due to RawMesh working just for Development Editor.
I am using RawMesh.h to convert procedural meshes to static meshes in my game. Why? Because new Slices from a procedural mesh are 1) no longer actors but child components, 2) Their origins still placed as in the original procedural mesh and no in the center of the new component. So in a world where an avatar can interact with the objects around it’s much easier for me to have all of them as Static Meshes with proper origin so I can treat them all the same (like on grasping). Then at the moment the avatar tries to slice something it is converted from SM to PM, magic happen, and then back from PM to SM.
Is there any other way I can do this conversion from PM to SM that can still be packaged? Thanks!
BTW the error I am getting is:
Severity Code Description Project File Line Suppression State
Error System.IO.DirectoryNotFoundException: Could not find a part of the path ‘F:\Program Files\EpicGames\UE_4.21\Engine\Intermediate\Build\Win64\UE4\Development\RawMesh\RawMesh.precompiled’. RobCoG F:\Unreal Projects\UE4Avatar-4.21\Intermediate\ProjectFiles\UnrealBuildTool 1