Skip to content
#

Unity

unity logo

Unity is a game development platform used to build high-quality 3D/2D games that can deployed across mobile, desktop, VR/AR, consoles, or the web.

Here are 12,041 public repositories matching this topic...

degant
degant commented Nov 9, 2020

Bug description

Consider a Uri with default port (https://example.com:443/)

After a serialization/deserialization roundtrip, the resulting Uri.OriginalString doesn't contain the port anymore (https://example.com/). The messagepack UriFormatter should use Uri.OriginalString instead of Uri.ToString() to ensure lossless serialization?

Newtonsoft.Json and System.Text.Json both

shana
shana commented Jul 5, 2017

We should add the Dispose pattern to the style guide so we don't have to go hunting for it whenever we need it. We should also audit the existing code to make sure it follows the correct pattern where it needs to.

private bool disposed;
public virtual void Dispose(bool disposing)
{
    if (disposed) return;
    disposed = true;
    if (disposing) {
        // dispose managed stuff
 

Created by Unity Technologies

Organization
Unity-Technologies
Website
unity3d.com
You can’t perform that action at this time.