Skip to content

Commit b617de4

Browse files
niskanderJonathan Harper
authored andcommitted
Fixing compile error
Variable "model" is undefined.
1 parent 84a9322 commit b617de4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

UnitySDK/Assets/ML-Agents/Editor/DemonstrationImporter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public override void OnImportAsset(AssetImportContext ctx)
4848
ctx.AddObjectToAsset(ctx.assetPath, demonstration, texture);
4949
ctx.SetMainObject(demonstration);
5050
#else
51-
ctx.SetMainAsset(ctx.assetPath, model);
51+
ctx.SetMainAsset(ctx.assetPath, demonstration);
5252
#endif
5353
}
5454
catch

0 commit comments

Comments
 (0)