Search Issue Tracker

Active

Under Consideration for 1.0.X

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"

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.