Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Bug Code sample for AssetPostprocessor.OnPostprocessSprites doesn't work

Discussion in 'Documentation' started by Xarbrough, Nov 20, 2020.

  1. Xarbrough

    Xarbrough

    Joined:
    Dec 11, 2014
    Posts:
    1,188
    The code sample for AssetPostprocessor.OnPostprocessSprites has a typo which leads to this code silently failing: The sample declares OnPostProcessSprites and OnPostProcessTexture, but it needs to be OnPostprocessSprites and OnPostprocessTexture with the second p lowercase.

    I've reported this issue via the "Report a problem on this page", but since I never get any feedback, as far as I know, this may never reach anyone at Unity, so I'm posting here on the forum. Hint, hint...maybe let users know when their feedback was addressed. ;)