Im using the Blueprint node"CopyfromStaticMesh" on a static mesh, that is imported at runtime with interchange.
I get the Error:
“LogGeometry: Warning: GeometryScriptError: CopyMeshFromStaticMesh: StaticMesh bAllowCPUAccess must be set to true to read mesh data at Runtime”
I use Unreal Version 5.2 and in cant find this option in project settings nether a Blueprint node to change the value. But at least this node existed in former times :
Can you help ?
Although the mechanic to set this flag ist part of the editor subsystem that is used to edit static meshes.
The Flag “ballowCPUAccess” is part of the UStaticMesh Class:
The Interchange Import for static meshes on runtime works now on UE 5_2.1 even better an with more performance than expected.
But i really need DynamicMeshes so that i can do Operations and Analyzing Stuff during Runtime with the geometryscripting library.
I still need some Help or Ideas to prevent this Error after Packaging:
“Warning: GeometryScriptError: CopyMeshFromStaticMesh: StaticMesh bAllowCPUAccess must be set to true to read mesh data at Runtime”
Dear Staff oder Advanced Unreal Engine Specialist, please help to make it come true.
In the subsystem MeshEditor.
Right-click on a mesh in content drawer or outliner → edit.
Search for allow or CPU, there you go.
Unlucky me : i need this functionality at runtime on user/player imported Meshes. More on this Topic here:
Interchange ImportScene generates an Static Mesh Actor from an .gltf-File.This Static Mesh Actor needs the flag “Allow CPU Access” so that it can be read by CopyfromStaticMesh to make a dynamic mesh.
The dynamicmesh is the requirement for many geometry script functions.
This Option “Allow CPU Access” is located inside the Mesh Editor Subsystem so it is not reachable out of the box at the moment. Espacially runtime imported files (after Compiling) are a problem right now .
Interchange ist quit…
1 Like
system
(system)
Closed
September 21, 2023, 9:37am
5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.