altmp / coreclr-module

CoreClr (.NET Core Common Language Runtime) community made module
MIT License
17 stars 8 forks source link

Rml GetElementById crashes client #17

Closed dGxxxx closed 1 month ago

dGxxxx commented 5 months ago

Alt.LoadRmlFont("/fonts/arialbd.ttf", "arial", false, true);
Alt.Log("loaded 1");

nametagsRmlDocument = Alt.CreateRmlDocument("/rml/index.rml");
Alt.Log(nametagsRmlDocument.Exists.ToString());
nametagsContainer = nametagsRmlDocument.GetElementById("nametag-container"); // this line crashes the client

The font loads, the RML document loads, only when I use GetElementById the client crashes.

The RML document is from here: https://docs.altv.mp/articles/rmlui/nametags.html

Doxoh commented 1 month ago

found the issue and fixed it - will inform when its get released

Doxoh commented 1 month ago

fixed with 16.2.7-rc.9