public static Texture2D GetTexture(ulong id) { try { return Content.Content.Get().UIGraphics.Get(id).Get(GameFacade.GraphicsDevice); } catch (Exception e) { } //TODO: darren wants to return null here. that might break some existing code return new Texture2D(GameFacade.GraphicsDevice, 1, 1); }