Search Issue Tracker

Active

Under Consideration for 6000.5.X

Votes

0

Found in

6000.0.66f1

6000.3.4f1

6000.4.0b5

6000.5.0a5

Issue ID

UUM-133595

Regression

Yes

Error SGICE002 is wrongly shown when more than one argument is passed into GetComponentRW()

Core Runtime

-

How to reproduce:
1. Open the attached project "IN-129353"
2. Observe the Console

Actual result: Errors SGICE002 and CS1501 are shown in the Console
Expected result: Only error CS1501 is shown in the Console

Reproducible with: 1.1.0-exp.1 (6000.0.0b11), 1.4.4 (6000.0.66f1, 6000.3.5f1), 6000.4.0b5, 6000.5.0a5
Not reproducible with: 1.0.16 (6000.0.0b11)

Reproducible on: Windows 11
Not reproducible on: No other environments tested

Notes:
- The correct Error (CS1501) is also shown
- Issue is caused by line 51 in the "SpawnSystem.cs" script, due to two arguments being passed into GetComponentRW()
- Using package version 1.0.16 replaces the SGICE002 error with "error CS1501: No overload for method 'GetRefRW' takes 2 arguments"

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.