I am quite new to UE4, but not completely new to programming or game development.
I am making a simple class which moves a camera from left to right. I try to make some small changes such as adding a UE_LOG message, or changing the direction in code. Normally I have been clicking ‘Build’ on the Solution Explorer ‘MyProject’ in VS2017. Suddenly (last night and today) this seems to not carry through to UE4. I get message in VS2017 ‘Build Succeeded’. But the code changes dont have any effect.
All I have to do to ‘fix’ the issue, is then ‘Compile’ in UE4 and the code changes all work as expected.
For testing, I tried not even clicking ‘Build’ in VS and this also works fine.
NB. I have been getting error in VS2017 ever since installing Unreal again. I posted here and Stack Overflow about it but I got no solid help with it. I don’t know if this is related but the error I get is when ‘Build’ in VS after it says: ’ E1574 static assertion failed with “TAtomic is only usable with trivial types” ’
From what I read I need to change Compliler settings to remove /Zp option. But all the details in links I found where outdated (https://docs.microsoft.com/en-us/cpp/build/reference/zp-struct-member-alignment?view=vs-2019 / c++ - Static assertion failed with "Windows headers require the default packing option..." - Stack Overflow )