diff --git a/src/framework/anim/binder/default-anim-binder.js b/src/framework/anim/binder/default-anim-binder.js index 6ccd9850607..ecc14d8dab2 100644 --- a/src/framework/anim/binder/default-anim-binder.js +++ b/src/framework/anim/binder/default-anim-binder.js @@ -176,7 +176,7 @@ class DefaultAnimBinder { // #if _DEBUG const fallbackGraphPath = AnimBinder.encode(path.entityPath[path.entityPath.length - 1] || '', 'graph', path.propertyPath); if (this.visitedFallbackGraphPaths[fallbackGraphPath] === 1) { - Debug.warn(`Anim Binder: Multiple animation curves with the path ${fallbackGraphPath} are present in the ${this.graph.path} graph which may result in the incorrect binding of animations`); + Debug.warnOnce(`Anim Binder: Multiple animation curves with the path ${fallbackGraphPath} are present in the ${this.graph.path} graph which may result in the incorrect binding of animations`); } if (!Number.isFinite(this.visitedFallbackGraphPaths[fallbackGraphPath])) { this.visitedFallbackGraphPaths[fallbackGraphPath] = 0;