Search Issue Tracker

Active

Under Consideration for 1.2.X

Votes

0

Found in [Package]

1.2.3 - Netcode

Issue ID

ECSB-1215

Regression

No

"CS0618: 'NetworkEndpoint.RawPort' is obsolete" is thrown when NetworkEndpoint property is used as data in RPC

Package: Unity Netcode

-

How to reproduce:
Open the attached project "BugReportingProject.zip"

Expected results: No warnings are thrown in the Console window
Actual results: "CS0618: 'NetworkEndpoint.RawPort' is obsolete: 'Use Port instead, and use standard C# APIs to convert to/from network byte order.'" are thrown

Reproducible with: 1.2.3 (2022.3.35f1, 6000.0.9f1)

Reproducible on: Windows 10 22H2
Not reproducible on: No other environment tested

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.