Ensure not working properly

When I first used ensure after a compilation it crashed.
Second run after restart would print the error but not the following runs

Using EnsureAlways would hard crash the game every single time, and it always occurs at the place where EnsureAlways found the nullptr (the same line in the lecture)

Everyone else has the same problem?

Could you share your code?

MyTank-master.zip (1.8 MB)

That’s what’s supposed to happen. The freeze is due to Unreal generating the stack trace to what lead to the ensure failing.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms