Skip to content

Cutscenes x skipselect (cannot load players) #291

@dbaldan

Description

@dbaldan

Please complete the following template to help us investigate your issue. Developer time is very limited - incomplete issue reports may be ignored and deleted.

Note: Legacy builds are not supported. Any fixes will be applied to the latest engine builds.

Description

When you use a cutscene in levels.txt and are playing with 2 players at the same time, the crash does not happen. But if you are playing with just player 2, as soon as the level ends, OpenBOR returns an error that cannot find the player.

This is the initial setup - the error happens where the red line is (between the first and second levels)
bug

Debugging

Reproduce

  1. edit your levels.txt and add a cutscene before the select screen
  2. play as the player 2 WITHOUT the player 1.
  3. once you beat the stage, the game crashes with the following error

Fatal: unable to spawn player from ' '

Expected behavior

I have to use skipselect to be able to use cutscenes before the select screen. And there is a way to bypass this bug, by including a fake scene and using skipselect:
fixed

The fake.txt scene is just a black gif. but it solves the problem;

Screenshots

If applicable, add screenshots to help explain your problem.

Version

Please provide the SPECIFIC version the issue first appeared. This is very important, it is nearly impossible for us to pour through the entire code base to find singular issues without a starting point.

  • Platform: windows
  • Engine Build: 6391, 6330, 6315...

Additional context

Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions