stride3d / stride3d/stride

Error when starting from local build

Open
#1,141 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Release Type: Official Release/GitHub (please choose appropriate option)

Local build master4.0 branch.

Version: Version number and/or git branch

Platform(s): Does the problem occur on Windows, Android...?

Windows

Describe the bug
Game studio doesn't start due to a restore error related to a file access violation.

To Reproduce
Steps to reproduce the behavior:

  1. Start game studio from visual studio in master-4.0 branch

Expected behavior
Normal start of game studio after nuget restore.

Screenshots
image

Log and callstacks

[Verbose] Acquired lock for the installation of Stride.Core.Assets 4.0.1.1
[Information] Installing Stride.Core.Assets 4.0.1.1.
[Error] Error restoring NuGet packages: System.AggregateException: Mindestens ein Fehler ist aufgetreten. ---> System.UnauthorizedAccessException: Der Zugriff auf den Pfad "Stride.Irony.dll" wurde verweigert.
   bei System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound, WIN32_FIND_DATA& data)
   bei System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
   bei NuGet.Packaging.PackageExtractor.<>c__DisplayClass5_0.<<InstallFromSourceAsync>b__0>d.MoveNext()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
   bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   bei NuGet.Common.ConcurrencyUtilities.<ExecuteWithFileLockedAsync>d__4`1.MoveNext()
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
   bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   bei NuGet.Common.ConcurrencyUtilities.<ExecuteWithFileLockedAsync>d__4`1.MoveNext()
...
--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---
   bei System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   bei NuGet.Commands.RestoreRunner.<RunWithoutCommit>d__3.MoveNext()<---

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 Windows failure from Visual Studio on the master-4.0 branch and review the NuGet restore log, especially the access violation for Stride.Irony.dll. Trace the restore path that installs Stride.Core.Assets 4.0.1.1; done means the Game Studio starts normally after restore without the file access error.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
28/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.