How to reproduce:
1. Create an empty project
2. Open the Package Manager (Window -> Package Management -> Package Manager)
3. Install the Behavior package
4. Close the Package Manager
5. Observe the Console
Actual result: Behavior package throws CS0619 errors in the Console
Expected result: No errors are thrown in the Console
Reproducible with: 1.0.15 (6000.5.0b3, 6000.6.0a2 (64de5ee36373))
Not reproducible with: 1.0.15 (2023.1.0a1, 6000.0.72f1, 6000.3.13f1, 6000.4.2f1, 6000.6.0a1 (b0e692525f04))
Reproducible on: Windows 11
Not reproducible on: No other environments tested
Note: Full error messages:
(In 6000.6.0a2)
”Library\PackageCache\com.unity.behavior@3bb86f7a073c\com.unity.serialization\Runtime\Unity.Serialization\Json\Properties\Internal\JsonPropertyWriter.cs(606,84): error CS0619: 'EntityId.implicit operator EntityId(int)' is obsolete: 'EntityId will not be representable by an int in the future. This casting operator will be removed in a future version.'“
(In 6000.5.0b3)
”Library\PackageCache\com.unity.behavior@3bb86f7a073c\Authoring\UI\AssetEditor\BehaviorGraphEditor.cs(578,40): error CS0619: 'Object.GetInstanceID()' is obsolete: 'GetInstanceID is deprecated. Use GetEntityId instead. This will be removed in a future version.'“
”Library\PackageCache\com.unity.behavior@3bb86f7a073c\Authoring\UI\AssetEditor\BehaviorGraphEditor.cs(1119,21): error CS0619: 'Object.GetInstanceID()' is obsolete: 'GetInstanceID is deprecated. Use GetEntityId instead. This will be removed in a future version.'“