I’m trying to learn how to create c++ class and use them for blueprint.
For AGameModeBase and AGameStateBase, it worked well. But when I create c++ file whose parent is ACharacter, editor fails to build and shows error.
This is my Live Coding Log. Used short url since stackoverflow doesn’t allow raw text for some characters.
https://shorturl.at/NLtCZ
I was doubt what the error is, so I turned off live coding and runned Uproject build provided by Rider IDE.
It also prints error:
https://shorturl.at/tDUUO
(Sorry for Korean words in the log. Probably I installed Visual Studio in Korean.)
As I know, Character is extended Pawn. So I tried creating a Pawn instead of Character, and it worked.
Am I missing something like compiler version?
Environment
Windows 11 (21H2)
Intel i5-12400F
Unreal Engine 5.4.2
Jetbrains Rider 2024.1.4
Visual Studio Community 2022 (17.10.3)
lanthanide is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.