Search Issue Tracker

Fixed in 6000.6.0a2

Fixed in 6000.5.X

Votes

0

Found in

6000.5.0a5

Issue ID

UUM-133177

Regression

Yes

Warnings "UDR0001" are thrown in the Console after Installing Rules in Project Auditor window

Project Auditor

-

Steps to reproduce:
1. Create new Unity project
2. Open Project Auditor window (Window > Analysis > Project Auditor)
3. Once open, press "Install Rules" button
4. Observe the Console window

Actual results: Warnings "Assets/TutorialInfo/Scripts/Editor/ReadmeEditor.cs(15,19): warning UDR0001: No method with RuntimeInitializeOnLoadMethod attribute" are thrown in the Console window
Expected results: No warnings in the Console

Reproducible with versions: 6000.5.0a3 (d715b48dcd52), 6000.5.0a5
Not reproducible with versions: 6000.4.0b6, 6000.5.0a2 (4eb3f165a11f)

Tested on (OS): Ubuntu 24.04

Notes:

  •  Flaky repro when creating first project. Warnings may not appear on the first time creating project. If not, create a second new project, Install Rules in Project Auditor window again - warnings consistently appear then.
  1. Resolution Note (fix version 6000.6.0a2):

    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 6000.5):

    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.