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
- Texture Import Warnings are obscured by other Terrain Layer options in the Inspector
- Active Targets section text in Graph Inspector is truncated despite available space
- Burst Inspector middle divider is jittering when resized with the Burst Inspector window docked
- Shader Graph Node information is briefly displayed in Graph Inspector when clicking on Category in the Blackboard
- JsonConvert conversion fails trying to call GetCallbackMethodsForType when [OnDeserialized] is used in a class
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