Remove usage of gameObject.engine
Remove engine parameter (replaced with EngineSingleton.engine