Unity 6 warnings - property serialization

gekido

Member
FYI: Just upgrade my project to Unity 6.3 and getting a bunch of warnings in the addons:

The type Opsive.UltimateCharacterController.AddOns Opsive.UltimateCharacterController.AddOns.Agility.Balance is being serialized by [SerializeReference], but is missing the [Serializable] attribute. To suppress this warning add [Serializable] or use [MakeSerializable].

The type Opsive.UltimateCharacterController.AddOns Opsive.UltimateCharacterController.AddOns.Agility.Crawl is being serialized by [SerializeReference], but is missing the [Serializable] attribute. To suppress this warning add [Serializable] or use [MakeSerializable].

The type Opsive.UltimateCharacterController.AddOns Opsive.UltimateCharacterController.AddOns.Agility.Dodge is being serialized by [SerializeReference], but is missing the [Serializable] attribute. To suppress this warning add [Serializable] or use [MakeSerializable].

The type Opsive.UltimateCharacterController.AddOns Opsive.UltimateCharacterController.AddOns.Agility.Hang is being serialized by [SerializeReference], but is missing the [Serializable] attribute. To suppress this warning add [Serializable] or use [MakeSerializable].

The type Opsive.UltimateCharacterController.AddOns Opsive.UltimateCharacterController.AddOns.Agility.LedgeStrafe is being serialized by [SerializeReference], but is missing the [Serializable] attribute. To suppress this warning add [Serializable] or use [MakeSerializable].

The type Opsive.UltimateCharacterController.AddOns Opsive.UltimateCharacterController.AddOns.Agility.Roll is being serialized by [SerializeReference], but is missing the [Serializable] attribute. To suppress this warning add [Serializable] or use [MakeSerializable].

The type Opsive.UltimateCharacterController.AddOns Opsive.UltimateCharacterController.AddOns.Agility.Vault is being serialized by [SerializeReference], but is missing the [Serializable] attribute. To suppress this warning add [Serializable] or use [MakeSerializable].

The type Opsive.UltimateCharacterController.AddOns Opsive.UltimateCharacterController.AddOns.Climbing.FreeClimb is being serialized by [SerializeReference], but is missing the [Serializable] attribute. To suppress this warning add [Serializable] or use [MakeSerializable].

The type Opsive.UltimateCharacterController.AddOns Opsive.UltimateCharacterController.AddOns.Climbing.LadderClimb is being serialized by [SerializeReference], but is missing the [Serializable] attribute. To suppress this warning add [Serializable] or use [MakeSerializable].

The type Opsive.UltimateCharacterController.AddOns Opsive.UltimateCharacterController.AddOns.Climbing.ShortClimb is being serialized by [SerializeReference], but is missing the [Serializable] attribute. To suppress this warning add [Serializable] or use [MakeSerializable].

The type Opsive.UltimateCharacterController.AddOns Opsive.UltimateCharacterController.AddOns.Swimming.ClimbFromWater is being serialized by [SerializeReference], but is missing the [Serializable] attribute. To suppress this warning add [Serializable] or use [MakeSerializable].

The type Opsive.UltimateCharacterController.AddOns Opsive.UltimateCharacterController.AddOns.Swimming.Dive is being serialized by [SerializeReference], but is missing the [Serializable] attribute. To suppress this warning add [Serializable] or use [MakeSerializable].

The type Opsive.UltimateCharacterController.AddOns Opsive.UltimateCharacterController.AddOns.Swimming.Drown is being serialized by [SerializeReference], but is missing the [Serializable] attribute. To suppress this warning add [Serializable] or use [MakeSerializable].

The type Opsive.UltimateCharacterController.AddOns Opsive.UltimateCharacterController.AddOns.Swimming.Swim is being serialized by [SerializeReference], but is missing the [Serializable] attribute. To suppress this warning add [Serializable] or use [MakeSerializable].
 
Thanks, I updated the main asset to suppress these warnings but haven't done so for the add-ons yet. For now they're harmless, and will be fixed with the next set of add-on releases.
 
Back
Top