SciHomo
(SciHomo)
1
I created a class of userdefinedenum, storing all my defined Enums like this:
When I tried to use those Enums,like this:

Here’s Error named Expected the name of a previously defined enum appearing.
I search for possible solutions for a week ,seems no topics deliver effective approaches up
to now
I use UE5,plz help!
SciHomo
(SciHomo)
2
Hope my experience can help someone
Use C++(enum class)
and include enums‘header in header,enum cant foreward declare
No Need TEnumAsByte
Colinzcli
(Colinzcli)
3
The enum header file to be included does not exist for a syncing problem in my case. No any clue why this did not throw any errors.
Just sync and get fixed. Hope this can help someone.