-
Notifications
You must be signed in to change notification settings - Fork 457
Closed
Labels
priority:mediumThis issue has medium priority and may take some time to be resolvedThis issue has medium priority and may take some time to be resolvedstat:importedStatus - Issue is tracked internally at UnityStatus - Issue is tracked internally at Unitytype:bugBug ReportBug Report
Description
Description
I use an asset called Game Creator 2 by Catsoft Works which introduced animation curves in their last update 2.8.31 and integrate that into Easy UGS by MiTschMR Studios (which I am the dev of). I linked their animation component within Network Animator and instantiate their player. When moving, animations with curves generate warnings within the NetworkAnimator.
Reproduce Steps
- Import GC2 into the project
- Import Easy UGS into the project
- Follow https://mitschmr-studios.io/documentation/easyugs/netcode/getstarted.html
- Move the player and check the console
Actual Outcome
Warnings like this are thrown:
Parameter 'Hash -819361287' is controlled by a curve.
UnityEngine.Animator:SetFloat (int,single)
Unity.Netcode.Components.NetworkAnimator:ReadParameters (Unity.Netcode.FastBufferReader) (at Library/PackageCache/[email protected]/Components/NetworkAnimator.cs:1039)
Unity.Netcode.Components.NetworkAnimator:UpdateParameters (Unity.Netcode.Components.NetworkAnimator/ParametersUpdateMessage) (at Library/PackageCache/[email protected]/Components/NetworkAnimator.cs:1060)
Unity.Netcode.Components.NetworkAnimatorStateChangeHandler:NetworkUpdate (Unity.Netcode.NetworkUpdateStage) (at Library/PackageCache/[email protected]/Components/NetworkAnimator.cs:69)
Unity.Netcode.NetworkUpdateLoop:RunNetworkUpdateStage (Unity.Netcode.NetworkUpdateStage) (at Library/PackageCache/[email protected]/Runtime/Core/NetworkUpdateLoop.cs:185)
Unity.Netcode.NetworkUpdateLoop/NetworkPreUpdate/<>c:<CreateLoopSystem>b__0_0 () (at Library/PackageCache/[email protected]/Runtime/Core/NetworkUpdateLoop.cs:232)
Expected Outcome
No warnings are thrown.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment
- OS: Windows 11 22H2 (Build 22621.1105)
- Unity Version: 2021.3.4f1
- Netcode Version: 1.2.0
Additional Information
According to the GC2 dev, If a "bone" with a curve is called the same as a "parameter" it's then bound to the curve
.
You could check for that and skip if that is the case, otherwise set it as usual.
Metadata
Metadata
Assignees
Labels
priority:mediumThis issue has medium priority and may take some time to be resolvedThis issue has medium priority and may take some time to be resolvedstat:importedStatus - Issue is tracked internally at UnityStatus - Issue is tracked internally at Unitytype:bugBug ReportBug Report