Hey guys, I’m currently on lecture 168. I’m not sure if this is a bug or not though.
My question is regarding this chunk of code here. On line 24 and 25 of my code, if I add these two lines and take out the ensure check on line 26, the Unreal Editor is able to compile fine and with no errors. I’m able to play as well with both AI and Player Aiming working and the turret and barrel following. Firing is not working, but that’s separate.
An oddity though is that if I try to open the TankPlayerControllerBP, the editor hard crashes. Could you guys see if you can recreate this on your guy’s end? I’m not completely sure if it’s something with my code or what.
As you see it in the screenshot currently, if I try to go and open TankPlayerControllerBP, it works fine and I don’t crash. It’s only after adding line 24 and 25 that I get a hard crash if TankPlayerControllerBP is open.