stride3d / stride3d/stride

Allow empty folders in Editor

Open
#1,859 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
C#
Stars
7.8k
Forks
1.2k
Avg merge
2d 17h
Merged PRs (30d)
49

Description

Version: 4.1.0.1898

My flow of development is to create a folder structure for my game before I begin development.

I usually follow the following:

  • Core
    • Art
      • Models
      • Materials
      • Textures
    • Prefabs
    • Scenes
    • Shaders
    • Audio
      • Music
      • Sound
    • UI
  • External

So when I started my project in Stride, it allowed me to create these folders (under Assets). Cut down version
image

I put the default scene in the Scene folder but prefabs folder is empty (For future use)
image

Now, when I save the editor & modifications, and close Stride then reopen. I am greeted with the following:
image

All the empty folders are gone (Nor did they ever exist in the file system).

I would expect it to actually create these folders and keep them because I made them.

Also even if I made them manually in the file system, Stride doesn't detect them.

(Sorry if duplicate)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue in the Stride Editor using an Assets folder with empty subfolders, then save, close, and reopen the project. Check whether folders created in the editor and manually in the file system are detected. Done means empty folders persist across editor restarts and existing empty folders are shown in the project.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
game-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.