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
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
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Editor Freezes when instantiating TMP text formatted with rich text tags in non Latin languages
- Crash on YAMLRead::TransferTypelessData when opening a specific project
- Inconsistent Placement of Search Clear (X) Icon in "Preset Manager"
- Gradient Editor window bottom-right gradient marker color is incorrect
- MaskField tooltips should only display Value when bound
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