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
- Mono Windows Builds don't produce full log callstacks when generating logs
- AssetBundles fail to load when running in Built Players for Mobile Devices
- UI elements with text gets bigger and grey when Player window is moved to another screen with different resolution
- System name accepts multiline text but crops it on confirmation, duplicates input, and shrinks the field when empty
- UI element scale and position are wrong in project build when DRS is changed with HDR and Software Dynamic Resolution enabled
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