Search Issue Tracker

Fixed

Fixed in 1.0.3

Votes

1

Found in [Package]

1.0.2

Issue ID

PROFB-408

Regression

Yes

Warning appears on static field declaration when opening script in Rider and Project Auditor is installed

Package: Project Auditor

-

How to reproduce:
1. Open the “IN-121298“ project
2. Set Rider as the External Script Editor
3. From the Project window open “Test.cs” script
4. Observe line 10 (s_instance declaration)

Actual result: Warning appears: “UDR0001: No method with [RuntimeInitializeOnLoadMethod] attribute”
Expected result: No warnings appear

Reproducible with: 1.0.0-pre.3 (6000.0.62f1), 1.0.2 (6000.0.62f1, 6000.2.15f1, 6000.3.0f1)
Not reproducible with: 1.0.0-pre.2 (6000.0.62f1), 1.0.2 (6000.4.0a5, 6000.5.0a2)

Reproducible on: macOS Tahoe 26.1
Not reproducible on: no other environments tested

Note: The reproduction is inconsistent when searching for a regression, further testing showed that the warning does not always appear in "1.0.0-pre.3" or disappear in "1.0.0-pre.2"

  1. Resolution Note:

    This should be fixed with version 1.0.3 of the Rules package, with 2 caveats:
    1. if there are still tutorial asset issues (in ReadmeEditor.cs) then the team who owns these needs to update the template assets (their code is fixed at source)
    2. if the project contains other issues that violate this fast enter playmode rule, it may still trigger

  2. Resolution Note (fix version 1.0.3):

    This should be fixed with version 1.0.3 of the Rules package, with 2 caveats:
    1. if there are still tutorial asset issues (in ReadmeEditor.cs) then the team who owns these needs to update the template assets (their code is fixed at source)
    2. if the project contains other issues that violate this fast enter playmode rule, it may still trigger

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.