Search Issue Tracker
Duplicate
Votes
0
Found in [Package]
2.6.0
Issue ID
MTTB-1728
Regression
No
Netcode for the GameObjects package does not update and gives "Cannot implicitly convert type 'ulong' to 'int’" errors when upgrading a project
Steps to reproduce:
- Create a new project on any version older than 6000.5.0a1
- Install Netcode for GameObjects 2.6.0 version
- Upgrade the project to Unity 6000.5.0a1
- Observe the console
- Observe in Package Manager window that the Netcode package did not update to 2.7.0
\\
Actual results:
Package does not get updated even tho a new version is available when upgrading project.
Getting errors:
“Library/PackageCache/com.unity.netcode.gameobjects@7e60351bfc70/Runtime/SceneManagement/NetworkSceneManager.cs(3189,39): error CS0266: Cannot implicitly convert type 'ulong' to 'int'. An explicit conversion exists (are you missing a cast?)”
Expected results:
Package is updated without issues
\\
Reproducible with versions:
Netcode for GameObjects 2.6.0:
6000.5.0a1
Not reproducible with versions:
6000.2.12f1, 6000.3.0b10, 6000.4.0a4 (package still does not upgrade, but no errors in the console)
\\
Tested on (OS):
MacOS Sequoia 15.7.1
\\
Notes:
- The errors only appear in 6000.5.0a1
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note:
NGO 2.7.0 contains the fix for this issue.
Duplicate of another internal issue: MTTB-1680: SceneHandles are no longer valid to be serialized as an int