TheCherno / Hazel

Hazel Engine
Apache License 2.0
11.75k stars 1.51k forks source link

Unable to save a new Scene - "The file name is not valid" #656

Closed Atijaf closed 11 months ago

Atijaf commented 11 months ago

When creating a new project and trying to save the scene, I receive a prompt stating "The file name is not valid" and the scene does not save.

Steps to reproduce the behavior:

  1. Clone repo per Getting Started
  2. Create a New Project ( I created mine in a different folder than Hazel )
  3. Click Save Scene As.. Navigate to New Project / Assets / Scenes
  4. Try saving the scene as "TestScene"

Expected behavior

A new scene should be saved in the folder.

Hazel Screenshot

I am eventually able to save the scene if I follow these steps in this order 1: Name the save "TestScene*.hscene" - and try saving (Nothing happens) 2: Name the save "TestScene.hscene" - and save

VagueLobster commented 11 months ago

Are you by any chance trying to save a new scene inside of Hazel Dev? 'Cause this is the repo for Hazel 2D, which does not have .hscene! It uses the .hazel filetype for it's scenes! Also the link you provided for the getting started insinuates that you do in fact tried to get started with Hazel Dev...