Hey all,
I’m currently working on a project with someone and I mainly work on all of the C++ code of the project and fundamental systems of the game in code. I have a git repo set up and some files ready to go for them to set up their dev environment.
But since they’ll primarily be doing work inside the editor and with Blueprints, I’ve run into an issue (Which Ive been able to solve locally, but not if the project is cloned).
Essentially the problem is that when updating some C++ code, like adding a class or new UFUNCTION or UPROPERTY macros in that class the editor doesn’t always pick it up when its launched as a standalone (not ran through the IDE).
What I did to fix it locally was to open up my IDE and change the solution configuration to “Development Editor”. But that change doesnt make any file changes and I cant necessarily push it to Git, and I feel like its messy for people who dont work on code to have to open up the IDE and build the project every time they pull something new.
Ideally I would like to set up some kind of Git hook that will properly build the project to include the new code in the editor, but I’ve tried a number of different commands and bat files within the Unreal Engine source build.
Just to clarify my project setup, I have a folder by itself that contains the actual project, then I have another folder where I’ve forked and cloned the Source build for UE5, and just linked them together.
Let me know if there’s anything that I can do to remedy this
Thanks for the help!