Missing '=' in Variable declaration specifier

Line 26 is the line that is throwing up the error.

24 private:
26 UPROPERTY(VisibleAnywhere, BlueprintReadOnly, Category = “Movement”, meta(AllowPrivateAccess = “true”))
27 class AInfinatumCharacter* ThisPlayerCharacter;

I am sure this is a simple thing, but I am still learning my way around the subtleties of UE4 & 5 and c++, any pointers and assistance would be appreciated.

Just change the line to:
class AInfinatumCharacter* ThisPlayerCharacter;

If I Comment out that Line the error simply moves to the Next line in the Code. So I am ssuming this means the error is either in the private: declaration or the line immediately before it.
This is what Immediately precedes the section above.

	void UpdateAnimationProperties(float DeltaTime);

virtual void NativeInitializeAnimation() override;

Sorry that extra * was part of the message formatting…

you are missing a = just like the error says, it must be
meta = (AllowPrivateAccess = “true”)

For the future, this is not an error from the compiler but from the UHT which means you should look for an error in your UE macros, not the C++ code itself.


My bad, this is the correct answer.

THANK YOU! That was indeed the solution. Great Information on what to look for in the future too!