Here are two codes
1. Here's the code that the error doesn't run:(NullReferenceException: Object reference not set to an instance of an object)

      container.Add(new CuiPanel{
        RawImage = {
          Url = "https://i.imgur.com/z0D9xAW.png",
        },
        RectTransform = { AnchorMin = "0.5 0.05", AnchorMax = "0.995 0.80" },
        CursorEnabled = true
      }, "ROOT", "QR");

2.This code can run

      var imgur = new CuiElement{
        Name = "QR",
        Parent = "ROOT",
        Components =
        {
          new CuiRawImageComponent{Url = "https://i.imgur.com/z0D9xAW.png"},
          new CuiRectTransformComponent{AnchorMin = "0.5 0.05", AnchorMax = "0.995 0.80"}
        }
      };
      container.Add(imgur);

Query API


Is oxide.rust.gui missing new CuiRawImageComponent()?