Skip to content

Whitespace in a scene name crash at launch. #371

@litelawliet

Description

@litelawliet

Description
Starting a game built which has a whitespace in start_scene setting of Game.ini will result in a "scene not found or corrupted". This is due to how we trim the whitespaces in IniFile.Load() in OvTools.

To Reproduce
Steps to reproduce the behavior:

  1. Create a scene with a space in its name, example: New Scene.ovgame
  2. Set the start scene of Project Settings to this scene and apply
  3. Build the game
  4. See error

Expected behavior
We should rethink the way we trim whitespaces when reading settings of Game.ini

Screenshots
Image

Image

Metadata

Metadata

Assignees

Labels

CrashSomething that causes a crashCriticalSomething that should be fixed quicklyGood First IssueAn easy issue for new contributors

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions