Skip to content

FCNPC_LoadPlayingPlayback conflicts with temporary recordings loaded by FCNPC_StartPlayingPlayback #306

@Naseband

Description

@Naseband

When loading a playback with FCNPC_LoadPlayingPlayback while there are playbacks loaded from FCNPC_StartPlayingPlayback (using the file parameter and auto_unload set to true), FCNPC_LoadPlayingPlayback will most of the time return a random ID that is associated with a temporary playback. When attempting to start the playback ID with FCNPC_StartPlayingPlayback, the NPC will then play back the incorrect playback.

To reproduce:

  • Start multiple recordings with FCNPC_StartPlayingPlayback (using the file parameter and auto_unload = true)
  • Load another playback using FCNPC_LoadPlayingPlayback (this will return an already existing ID from the previous step)

Using the ID from the second step will then play back a (seemingly) random recording from the first step.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions