Skip to content

Defines

Alex Silaev edited this page May 22, 2025 · 1 revision

ENABLE_BECS_COLLECTIONS_CHECKS - this is how unity defines it for collections, everything will work a little slower with it, but it is safer (it only works in the editor)

LEAK_DETECTION - very slow, use it only if you really want to debug something

MEMORY_ALLOCATOR_BOUNDS_CHECK - this is used quite rarely, only if in multithreading you screwed up somewhere with allocations and you need to understand what you changed wrong, it can give you a clue

Clone this wiki locally