stride3d / stride3d/stride

Can't properly reload text files after changes was made in Visual Studio.

Open
#2,732 15 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

Version: 4.2.0.2381

Platform(s): Windows 11

Describe the bug
Can't get Stride text editor to reload assemblies properly when changing and saving .cs files in the latest Visual Studio 2022 v17.13.

Whenever i edit a .cs file in Visual Studio and save it, Stride prompts me and asks whether i want to reload it or not. When i click on "reload", nothing changes. None of the changes i made in Visual Studio appears.
This is weird because when i edit the .cs file in other text editors like NotePad++, i get prompted and when i click "reload", it works as expected. Also, when i make changes in Visual Studio, NotePad++ prompts me and reloading the text file works as expected too.

Only when i edit and save a text file in Visual Studio and try to reload it in Stride do i get this issue.

I've tried reinstalling Stride, updating Visual Studio, updating .Net and restarting my computer.

To Reproduce
Steps to reproduce the behavior:

  1. Create a project
  2. Open the project in Visual Studio
  3. Edit a .cs file in Visual Studio
  4. Check Stride Game Studio

Additional context
Just go into Stride yesterday, hyped to get into it. Just wish i could use Visual Studio.

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 reload flow with a .cs file edited and saved in Visual Studio, then compare it with the working Notepad++ flow. Trace the Stride Game Studio text-file or assembly reload entry point; done means Visual Studio changes appear after choosing “reload”.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.