stride3d / stride3d/stride

Session Creator does not properly clean up after it fails due to missing workload

Open
#1,787 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Release Type: Official Release

Version: 4.1.0.1898

Platform(s): Windows (During project creation)

Describe the bug
When I try to create a new library project without the required workloads installed, the project fails to create. The folder where I was intending to create the project is not properly cleaned up, so if I attempt to create a new project after installing the necessary workloads, I cannot continue until I manually delete the folder that was created.

To Reproduce
Steps to reproduce the behavior:

  1. Start Stride without ios/android workloads
  2. Select General -> Code library
  3. Provide a name for the project folder
  4. Provide a Library name and Namespace, then continue
  5. Observe failure in creating project due to missing workload
  6. (Optional) Install the missing workload
  7. Try creating the project with the same name
  8. Observer error "Cannot use the selected name because a folder with the same name already exists in the same location."

Expected behavior
If a project fails creation, then the system should be cleaned up as though the project was not created in the first place.

Screenshots
N/A

Log and callstacks
N/A

Additional context
N/A

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

No file or test is named. Reproduce the failure in Stride's Session Creator with the missing-workload setup, then trace the project-creation failure path and verify that retrying with the same folder succeeds after cleanup.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.