I spent 20 minutes figuring out why this C++ method was returning null when all the stuff inside the class was correctly initialized, only to realize I forgot to add “return” in front of a getter function call… It was just falling down to “return nullptr” at the end… I think I’m tired.
