Search Issue Tracker
Fixed in 5.5.0
Votes
0
Found in
5.2.3p2
Issue ID
763173
Regression
No
[UWP] NetworkManager inheritance issue
Building to UWP, editor shows the following error:
Assets\EndpointTest.cs(9,9): error CS7069: Reference to type 'EndPoint' claims it is defined in 'System', but it could not be found
---
using UnityEngine;
using UnityEngine.Networking;
public class EndpointTest : NetworkManager{
void Meh(){
System.Net.EndPoint test = null;
secureTunnelEndpoint = test;
}
}
---
Taking out the set of secureTunnelEndpoint will allow it to export properly. Even using System.Net.EndPoint variables is okay, just not accessing this particular variable. The NetworkManager should work as expected on Windows 10 Unversal apps.
Tested on 5.2.4f1, 5.3.1p3, 5.4.0b3.
Repro steps:
1. open "EndpointTest.zip"
2. build to UWP. Observe the console for errors.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Lightmaps are baked incorrectly for GameObjects when their Position is <=-2048 or >=2048 on any of the coordinates
- Sahder errors in Player when "Strict shader variant matching" is enabled and the rendering path is set to "Deferred"
- NullReferenceExceptions are being thrown when saving a ScriptableObject with an array of a type with a CustomPropertyDrawer that uses TrackPropertyValue
- Applied velocity is inconsistent when using Rigidbody AddForce() with ForceMode.VelocityChange
- Crash on AudioUtil_CUSTOM_HasAudioCallback when exiting Play Mode while the Inspector is displaying a GameObject with an empty script attached
Add comment