Assert in Unreal

assert will terminate the program (usually with a message quoting the assert statement) if its argument turns out to be false. It's commonly used during debugging to make the program fail more obviously if an unexpected condition occurs.

https://stackoverflow.com/questions/1571340/what-is-the-assert-function

check, verify, ensure

  • check : assert gibi çalışır. Default olarak shipping building de çalışmaz
  • verify : check gibidir fakat shipping building’de de çalışır
  • ensure : non-fatal errorlar için kullanılır. Crash raporlanır ama engine çalışmaya devam eder. Engine/Editor session başına sadece 1 kere çalışır. Eğer her zaman raporlasın istiyorsanız: ensureAlways

https://dev.epicgames.com/documentation/en-us/unreal-engine/asserts-in-unreal-engine


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *