Search Issue Tracker
Fixed in 5.3.0
Votes
0
Found in
5.0.0b21
Issue ID
706979
Regression
No
The Windows standalone player has a default SynchronizationContext set
To reproduce:
1. Create a new Unity project.
2. Add a script to a game object with this code:
void Awake()
{
if (System.Threading.SynchronizationContext.Current != null)
{
Debug.LogError("A default SynchronizationContext is set!");
}
}
3. Build a Windows standalone player (development build)
4. Notice error message
5. Run scene in editor
6. Notice that error doesn't appear
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [iOS] Postprocessing errors appear when using RenderGraph and NativeRenderPass
- Can't add a Scene to a Baking Set when it has just been deleted from the Set
- [iOS 17] "Malformed URL" error is thrown when using UnityWebRequest with a URI containing "[]"
- [Android] Player crashes at launch with error when built with custom Editor build
- Memory Leak when using InstantiateAsnyc to instantiate a large Prefab
Add comment