After this lecture, Unreal crashes on play. I am a brand new coder. Appreciate any help. This is what I have tried:
- Removing the BP for Move Forward
- Commenting out the UE_LOG
- Commenting out the BlueprintReadOnly line
- Tried playing from Main menu. It did not crash until I hit the start button
I should say that my code compiles without a problem. As far as I can see, it is identical to Ben’s. Here is the error message I am getting:
LoginId:36f12e094148096216fe6cbf9268118a
EpicAccountId:be525d81a15e4e22ba3b1d9cd6d7772b
Access violation - code c0000005 (first/second chance not available)
UE4Editor_BattleTank!AProjectile::LaunchProjectile() [c:\users\seths\onedrive\documents\repos\04_battletank\battletank\source\battletank\private\projectile.cpp:34]
UE4Editor_BattleTank!ATank::Fire() [c:\users\seths\onedrive\documents\repos\04_battletank\battletank\source\battletank\private\tank.cpp:72]
UE4Editor_BattleTank!ATankAIController::Tick() [c:\users\seths\onedrive\documents\repos\04_battletank\battletank\source\battletank\private\tankaicontroller.cpp:26]
UE4Editor_Engine
UE4Editor_Engine
UE4Editor_Engine
UE4Editor_Engine
UE4Editor_Core
UE4Editor_Core
UE4Editor_Core
UE4Editor_Engine
UE4Editor_Engine
UE4Editor_Engine
UE4Editor_Engine
UE4Editor_UnrealEd
UE4Editor_UnrealEd
UE4Editor
UE4Editor
UE4Editor
UE4Editor
UE4Editor
kernel32
ntdll