in unigine2.7.1
i use engineptr as an member of my class ,but there was a crash over there .
error usage
correct usage
as you can see the code of UnigineEngine.h
the temporary EnginePtr object will shutdown the Engine when it destroyed. which will cause a lot of problems