stride icon indicating copy to clipboard operation
stride copied to clipboard

Cannot install Stride 4.2

Open hubcat22 opened this issue 7 months ago • 5 comments

Release Type: Official Release/GitHub (please choose appropriate option) Official Release Version: Version number and/or git branch 4.2 Platform(s): Does the problem occur on Windows, Android...? Windows 10 Describe the bug Installing Stride 4.2 via the Stride launchers fails with Error code -1066598274

To Reproduce Steps to reproduce the behavior:

  1. Install the Stride launcher
  2. Run the launcher
  3. Either click ok for the pop up window that asks you to install Stride 4.2 or click the "Install latest version" button.
  4. An error window with the follow text will appear:

An error occurred while installing version 4.2.0.2381.

At the bottom of the error log this appears:

Exception

Error code -1066598274 while running install package process [C:\Users\sjoni\.nuget\packages\stride.gamestudio/4.2.0.2381\tools\packageinstall.exe]
 at Stride.Core.Packages.NugetStore.RunPackageInstall(String packageInstall, String arguments, ProgressReport progress) at Stride.Core.Packages.NugetStore.OnPackageInstalled(Object sender, PackageOperationEventArgs args) at Stride.Core.Packages.NugetStore.InstallPackage(String packageId, PackageVersion version, IEnumerable`1 targetFrameworks, ProgressReport progress) at Stride.LauncherApp.ViewModels.PackageVersionViewModel.<>cDisplayClass55_0.<<Download>b0>d.MoveNext()

Expected behavior The install succeeds without error.

Screenshots

Log and callstacks

Stride 4-2 install error.txt

Additional context I have installed Visual Studio 2017, 2019, 2022, .Net SDK 5,8,9 (All x64 bit) and as far as I know meet all the requirements for installing it. But it makes no difference, it won't install

hubcat22 avatar May 15 '25 05:05 hubcat22

The url for the Stride 4-2 install error.txt does not work, can't do much without more info I'm afraid

Eideren avatar May 15 '25 08:05 Eideren

At the end of the install process, there should be a prompt to install the prerequisites, which requires admin access.

Did you leave your machine for a while and only came back to the error? If so it might have timed out. Or if you have multiple screens, the prompt might have appeared on a different one.

Another possibility is that you don't have admin rights and hence can't validate that last step.

Kryptos-FR avatar May 15 '25 18:05 Kryptos-FR

The url for the Stride 4-2 install error.txt does not work, can't do much without more info I'm afraid

I edited the post to correct the code (back ticks) syntax. And now the URL seems to work.

Kryptos-FR avatar May 15 '25 19:05 Kryptos-FR

Thanks for your responses. Sorry about the link, I'm new here and the only way I could figure out how to get a file in was drag and drop.

I had another look at the output log, for some reason it seems to think the process lasted for at least a couple of minutes but it actually was a few seconds. No idea what's going on there.

I only have a single monitor for my PC. I tried running the launcher as an Admin and installing (From clicking install to error was 5 seconds) but looks like it has the same issue:

Stride 4-2 install error 02.txt

I should add after the install for Stride fails, the only other prompt I see is to install Visual Studio 2022 integration but while I see no errors for that one, it lasts like a second and the Stride launcher still gives me the option to install it after which leads me to believe it didn't work.

hubcat22 avatar May 18 '25 02:05 hubcat22

There are a few references (past conversations) on Discord, when you search for "running install package process" on our Discord. I checked only a few of them.

I am just checking this page as well https://doc.stride3d.net/latest/en/manual/troubleshooting/stride-doesnt-run.html, do you have installed Visual C++ Redistributable 2019 (or later)?

VaclavElias avatar May 18 '25 22:05 VaclavElias