diff --git a/unity/Assets/Scripts/FpinAgentController.cs b/unity/Assets/Scripts/FpinAgentController.cs index fef0ebaef1..c97ac47e5c 100644 --- a/unity/Assets/Scripts/FpinAgentController.cs +++ b/unity/Assets/Scripts/FpinAgentController.cs @@ -885,6 +885,7 @@ public ActionFinished InitializeBody( // we had a body asset used, so actionFinished returns info related to that if (bodyAsset != null) { return new ActionFinished(spawnAssetActionFinished) { + success = true, // TODO: change to a proper class once metadata return is defined actionReturn = new Dictionary() { @@ -899,8 +900,8 @@ spawnAssetActionFinished.actionReturn as ObjectSphereBounds } }; } else { - return new ActionFinished() - { + return new ActionFinished( + success: true, // TODO: change to a proper class once metadata return is defined actionReturn: new Dictionary() {