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
- The Scene View becomes gray and "NullReferenceException" errors are thrown when attaching the Unity Editor process to RenderDoc
- Memory usage rapidly rises when changing colors in the color wheel
- Physically Based Sky's Horizon and Zenith Tint Color Selection Bars don't have immediate access to color pickers
- EmptyAdditionalLightShadowmapTexture leaks from memory when URP quality level is changed using QualitySettings.SetQualityLevel
- Referenced ScriptableObject field does not get updated and cannot be set to "None" when there are no Objects of that type
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