Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix: Command Line Argument Handling#1036

Open
Migueli2CAT wants to merge 1 commit intoUnity-Technologies:main from
Migueli2CAT:fix/command-line-arguments
Open

Fix: Command Line Argument Handling #1036
Migueli2CAT wants to merge 1 commit intoUnity-Technologies:main from
Migueli2CAT:fix/command-line-arguments

Conversation

@Migueli2CAT
Copy link

@Migueli2CAT Migueli2CAT commented Oct 21, 2025

Fix for command line arguments handling

Problem

When running on Awake and passing arguments via the command line, these values are not applied, the default settings are used instead.

Root Cause

The logic inside the SignalingManager’s Awake() function creates a signaling object that is passed to the _Run() function.
Because the signaling parameter in _Run() is not null, it prevents the function from creating a new signaling instance after the command-line arguments have been evaluated.

Solution

The creation of the signaling and conf objects has been removed from Awake(), and both are now set to null.
By doing this, the signaling object is created inside _Run() using the updated settings that include the values from the command-line arguments.

Removed redundant code from the Awake function.
Copy link

unity-cla-assistant commented Oct 21, 2025
edited
Loading

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /