Not signed in
Copyright © 2026 Unity Technologies
Steps to reproduce:
1. Create new Unity project using Universal 2D Template
2. Open Package Manager window
3. Find and install Unity Physics package
4. Once installed, Import Custom Physics Authoring Sample
5. When imported, observe the Console window
Actual results: Warnings are thrown in the Console window after importing Custom Physics Authoring Sample
Expected results: No warnings are thrown in the Console after importing Custom Physics Authoring Sample
Reproducible with versions: 6.5.0 (6000.6.0b1 (bec83302551e), 6000.6.0b2, 6000.7.0a1)
Not reproducible with versions: 6000.5.2f1, 6.5.0 6000.6.0a7 (240d06e2411b)
Tested on (OS): macOS Tahoe 26.5.1 (M1)
Assets/Samples/Unity Physics/6.5.0/Custom Physics Authoring/Unity.Physics.Custom/Joints/BallAndSocketJoint.cs(111,21): warning CS0618: 'IBaker.AddSharedComponentManaged<T>(Entity, T)' is obsolete: 'Managed ISharedComponentData support is deprecated and will be removed. Convert <T> to an unmanaged ISharedComponentData and use the equivalent without the 'Managed' suffix. First deprecated in 6.6.' Assets/Samples/Unity Physics/6.5.0/Custom Physics Authoring/Unity.Physics.Custom/Joints/ModifyJointLimitsAuthoring.cs(88,13): warning CS0618: 'IBaker.AddComponentObject<T>(Entity, T)' is obsolete: 'Managed-component access (AddComponentObject/GetComponentObject/SetComponentObject) is deprecated and will be removed. Convert your data to an unmanaged IComponentData and use the unmanaged Add/Get/SetComponentData APIs. To reference UnityEngine.Object instances, use UnityObjectRef<T>. First deprecated in 6.6.' Assets/Samples/Unity Physics/6.5.0/Custom Physics Authoring/Unity.Physics.Custom/Joints/ModifyJointLimitsAuthoring.cs(151,21): warning CS0618: 'EntityManager.SetSharedComponentManaged<T>(Entity, T)' is obsolete: 'Managed ISharedComponentData support is deprecated and will be removed. Convert <T> to an unmanaged ISharedComponentData and use the equivalent without the 'Managed' suffix. First deprecated in 6.6.' Assets/Samples/Unity Physics/6.5.0/Custom Physics Authoring/Unity.Physics.Custom/Joints/ModifyJointLimitsAuthoring.cs(13,12): warning EA0017: Struct 'global::Unity.Physics.Authoring.ModifyJointLimits' implements ISharedComponentData but contains managed fields. The managed-shared-component code path is deprecated and will be removed. Convert managed fields to UnityObjectRef<T> (for UnityEngine.Object references) or otherwise make the struct unmanaged. Define UNITY_DISABLE_MANAGED_SHARED_COMPONENT_WARNINGS to silence this warning. First deprecated in 6.6.
Sign in to see your voted issues