Search Issue Tracker
Won't Fix
Votes
0
Found in
2020.3.41f1
2021.3.14f1
2022.1.23f1
2022.2.0b15
2023.1.0a20
2023.2.0a1
Issue ID
UUM-19359
Regression
No
“ArgumentException: May only be called in OnPostProcessTexture” errors are thrown when selecting the “Windows, Mac, Linux settings” on .png file in the Inspector window
Reproduction steps:
- Open the attached project
- Select the “Assets/Sprites/horizontalStrip2.png” file in the Project window
- Select the “Windows, Mac, Linux settings” tab (Monitor Icon) at the bottom of the Inspector window
- Observe the Console window
Expected result: No errors are present
Actual result: A lot of “ArgumentException: May only be called in OnPostProcessTexture” errors are thrown and the Inspector window freezes
Reproducible with: 2020.3.41f1, 2021.3.14f1, 2022.1.23f1, 2022.2.0b15, 2023.1.0a20
Reproducible on: Windows 10
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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note:
Thank you for reporting a bug to Unity.
The issue arises from a failed texture import, of which the user is sufficiently notified. Despite the Inspector freezing up locally, the user is still able to select other assets and continue working. After providing a valid texture for the broken asset, the error no longer happens.
We have reviewed the issue carefully, and in this case the team is unable to prioritize fixing this bug. There are a number of reasons we make this decision, including the impact and severity of the issue across our user and customer base, and the possibility that future plans may solve the problem in a different way, or that a workaround for the bug may be available.
Today we will be closing this case. Thank you again for taking the time to report this issue, and please let us know if there is anything else that changes the impact or severity of this issue.