Skip to content

RmlDocument 'removeChild' will crash alt:V client #2430

Description

@masterus808

Description of the problem

Reloading client-side code with RMLDocument within that resource will cause alt:V client to crash entirely whenever the script will start to load, it is not related to any map replacement mods etc., just pure code.

Reproduction steps

restart [resource] in alt:V server console

Expected behaviour

Load resource with RMLDocument properly like before (wasn't happening before 16.3.34 (RMLUI 3D API implementation))

Additional context

[16:35:23] Downloading resource from: http://localhost:7788/core.resource
[16:35:23] Skipping integrity check for resource core
[16:35:23] Downloaded and validated resource core succesfully
[16:35:23] Finished downloading all resources
[16:35:23] Stopping resource core
[16:35:23] MINIDUMP: Temporary dump saved
[16:35:24] Last loaded asset: id2_rail_3.ybn hei_hw1_08_0.ybn
[16:35:24] Texture info: rsn_sl_fog_stream01 NoFlow
[16:35:24] Last deleted vehicle model 0000000000000000
[16:35:24] Last pos Point{ x: 389.945, y: -355.897, z: 47.4804 }
[16:35:24] Shutting down

(12/05/2025) code 'snippet' and temporary workaround

Operating system

Windows 11 (23H2 & 24H2)

Version

16.3.34 (latest release version) & 16.3.35-rc.5 (latest RC version)

Crashdump ID

99aa0539-4f0e-4c02-a76c-b9fed9ceeca1

Confirmation of issue's presence

  • By submitting this ticket, I affirm that I have verified the presence of this issue on the latest RC (Release Candidate) version available at the time of writing this ticket.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Class: bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions