Search Issue Tracker

Fixed in 2020.1.X

Votes

0

Found in

2019.3

2019.3.0f6

2020.1

Issue ID

1218743

Regression

No

Script can't be loaded and throws error when GenerateAuthoringComponent is written in square brackets with another attribute

Scripting

-

Reproduction steps:
1. Open user's attached project "BugReportProject" and scene "SampleScene"
2. In the Hierarchy, click on "GameObject"

Expected result: Both attached scripts are loaded correctly
Actual result: Script with GenerateAuthoringComponent and another attribute written in the same square brackets is not loaded and throws an error

Reproducible with: 2019.3.3f1, 2020.1.0a14
Not reproducible with: 2020.1.0a15
Could not test with: 2017.4.37f1 (no Package Manager), 2018.4.18f1 (GenerateAuthoringComponent not implemented)

Note: If attributes are separated into different square brackets, the script works fine.

Error: 'AuthoringDoesNotWork' is missing the class attribute 'ExtensionOfNativeClass'!

  1. Resolution Note (fix version 2020.1):

    Fixed in 2020.1.0a15

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.