Search Issue Tracker

By Design

Votes

0

Found in

2017.4.0f1

2018.3.0a1

2019.1.0a1

2019.2.0a1

2019.2.0b8

2019.3.0a1

Issue ID

1167579

Regression

No

Intellisense does not autocomplete callbacks when script inherits from AssetPostprocessor or AssetModificationProcessor

Asset - Database

-

How to reproduce:
1. Open the attached project("Intellisense_Asset")
2. Open the NewBehaviourScript
3. In the NewBehaviourScript class, try to type OnPostprocessAudio()

Expected result: Intellisense provides suggestions for autocompletion
Actual result: Suggestions for autocompletion are not provided

Reproducible with: 2017.4.30f1, 2018.4.3f1, 2019.1.9f1, 2019.2.0b9, 2019.3.0a8

  1. Resolution Note:

    Unfortunately this is the historical design, even though we'd admit it's not the best design from a discoverability and developer tooling perspective. The callbacks are found via reflection. We may improve this in the future, but it's not planned right now.
    In order to get the method signatures just right, please copy the declarations from the documentation: https://docs.unity3d.com/ScriptReference/AssetPostprocessor.html

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.