stride3d / stride3d/stride

Launcher / GameStudio - Unable to start Game Studio when JetBrains Fleet is installed alongside 4.2.1.2442

Open
#2,900 0 comments 1 reaction 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.2.1.2442

Platform(s): Windows

Describe the bug
When the most recent JetBrains Fleet is installed then Game Studio is unable to start. It does not show any error and logs are not available.

This happens because in IDEInfo Fleet is detected as an installation of Rider, but somehow installationVersion and instanceId is not available and it makes the code in IDEInfo throw an unhandled ArgumentNullException.

    public IDEInfo(Version installationVersion, string displayName, string? programPath, string instanceId, IDEType ideType)
    {
        DisplayName = displayName ?? throw new ArgumentNullException(nameof(displayName));
        InstallationVersion = installationVersion ?? throw new ArgumentNullException(nameof(installationVersion));
        InstanceId = instanceId ?? throw new ArgumentNullException(nameof(instanceId));
        ProgramPath = programPath;
        IDEType = ideType;
    }

Debugger variables

mode = The name 'mode' does not exist in the current context
$exception = {ArgumentNullException} System.ArgumentNullException: Value cannot be null. (Parameter 'installationVersion')\r\n   at Stride.Core.CodeEditorSupport.IDEInfo..ctor(Version installationVersion, String displayName, String programPath, String instanceId, IDEType ideType) in C:\BuildAg…
this = {IDEInfo} Rider 
displayName = {string} "Rider "
ideType = {IDEType} Rider
installationVersion = {Version} null
instanceId = {string} ""
programPath = {string} "C:\Users\Konrad\AppData\Local\Programs\Fleet\Fleet.exe"

To Reproduce
Steps to reproduce the behavior:

  1. Install JetBrains Fleet 1.48.261 Public Preview
  2. Attempt to open Game Studio 4.2.1.2442
  3. App does not start
  4. Uninstall JetBrains Fleet 1.48.261 Public Preview
  5. App does start

Expected behavior
App should start

Screenshots

Image

Log and callstacks

Additional context
Add any other context about the problem here.

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 with the IDEInfo constructor and the detection path that identifies JetBrains Fleet as Rider, using the provided ArgumentNullException details as the failure point. Reproduce on Windows with Fleet 1.48.261 and Stride 4.2.1.2442; done means Game Studio starts successfully with Fleet installed and the existing IDE detection behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop, 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.