If you have problems with the Enum after refactoring, restart Unreal

I was stumped for a while as to why my crosshair enum colors weren’t loading correctly after I did the refactor ben had us do in the beginning of the video. Then after my game coincidentally crashed, when I booted it up again for some reason it loaded the enum state correctly using the same compilation and assets. So it was alot of headache over yet even more problems the instability of ue4 has caused us

Oh also havn’t watched the rest of the video yet, but if your tank is still using a tank barrel reference (unless you did a MASSIVE refactor and moved the behavior), then you have to initialize it in begin play, instead of the constructor, if you want to still be able to fire the tank cannon in game. But im sure u will see him set it all up in the video anyway lol.

Privacy & Terms