I’m pretty new to c++ so its very possible i’ve overlooked something but as far as i understood the header should enable the engine to recognize this variabletype FDynamicMeshAttributeSet | Unreal Engine 5.4 Documentation | Epic Developer Community , but it doesn’t.
What kind of error output do you have while compiling ?
the language is german and according to translator its: undeclared identifier
Maybe you forgot to add:
#include "DynamicMesh/DynamicMeshAttributeSet.h"
at the beginning of you .cpp file ?
Please show a bit more of the code you have where you use the FDynamicMeshAttributeSet itself
Do you get this error when compiling to is it just intellisense ?
i get this single error and no other when i compile it via Unreal Engines live coding
This could be a weird namespace issue.
Does it work if you add UE::Geometry::
in front of FDynamicMeshAttributeSet
this seems to work. ofc i get another error xD but this time its related to something else
tysm for the fast help guys
does this happen often or only in rare cases btw?
I am not expert enough to know how and when UE namespaces are supposed to be used. It look suspicious to have to do like this, but why not after all. Sorry I can’t help more on this
Though, the GetValue seems to relate to a different issue: it seems there is no such function in a FDynamicMeshAttributeSet.
yea i originally had the same error on FDynamicMeshPolygonAttribute and tested around with FDynamicMeshAttribute. The error is resolved when i use FDynamicMeshPolygonAttribute which was my intent so all works perfectly now ^^
Try using UE::Geometry namespace like this
If you still have issues go to your Build.cs and add GeometryCore