Skip to content

Persistent Crash (c0000005) when streaming ANY Custom Audio REL file (Dat 151 or Dat 150) #3653

Description

@nohassi

What happened?

I am experiencing a consistent fatal client crash (c0000005 at 0x7ff613c03f55, as shown in the screenshot) whenever I attempt to start a resource that streams a custom audio .rel file in FiveM. The crash occurs specifically in the data file mounter stage.

The crash happens regardless of the .rel file type used: Dat 151 (Ambient Zone) or Dat 150 (Ambient Emitter). The resource works fine when the script is stopped.

Crash Example:

Expected result

The custom audio data file should mount successfully without causing a client crash, allowing the audio to play when the player enters the defined area.

Reproduction steps

  1. Audio Creation: Created a custom .awc file (e.g., marshall_zone_01.awc) using OpenIV from a correctly formatted XML .oac file (confirmed working and clean).

  2. Dat 151 Test (Ambient Zone):

  • Used CodeWalker Editor v30_dev46.

  • Created a Dat 151 Ambient Zone.

  • Crucial Step: Set the essential Flags 0 value to 0x00000000 to prevent the known Access Violation.

  • Created a corresponding .nametable file to resolve the Name Hash for the new file name.

  • Configured fxmanifest.lua to stream the DAT151.rel, DAT151.nametable, and .awc using AUDIO_GAMEDATA and AUDIO_WAVEPACK.

  • Result: CRASH.

  1. Dat 150 Test (Ambient Emitter):
  • Created a new Dat 150 Ambient Emitter (the simpler file type).

  • Used safe Emitter settings (e.g., Flags 0: 0xAA001100).

  • Updated the fxmanifest.lua to stream the DAT150.rel using AUDIO_SOUNDDATA.

  • Result: CRASH.

  1. Final Attempt: Tried using a Mono-channel AWC (single .wav file) with the Dat 150 Emitter to rule out stereo encoding issues.
  • Result: CRASH.
Image

Importancy

Crash

Area(s)

FiveM

Specific version(s)

GTA V build: b3258 (from GTA5_b3258.exe) FiveM client build: 20139

Additional information

Since both the Dat 151 (Ambient Zone) and Dat 150 (Ambient Emitter) cause a crash despite implementing all known fixes (Flags 0: 0x00000000, unique naming, nametables, and AWC integrity), the problem appears to be related to FiveM's handling of the .rel file structure generated by CodeWalker. Any insight or solution from the development community is greatly appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugcrashtriageNeeds a preliminary assessment to determine the urgency and required action

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions