fix release mode error handling
remove old debug sphere code + warning
ignore linker warnings that are caused by physx