Search Issue Tracker
By Design
By Design in 2023.2.X
Votes
0
Found in
2022.2.8f1
2023.1.0b6
2023.2.0a4
Issue ID
UUM-28352
Regression
Yes
WebGL Build fails with "error CS0234: The type or namespace name 'Caching' does not exist in the namespace 'UnityEngine'" when trying to find the Caching class
How to reproduce:
- Open the attached project "Caching Error.zip"
- Build the project for WebGL
Expected results: The Build is successful
Actual results: The Build fails with "error CS0234: The type or namespace name 'Caching' does not exist in the namespace 'UnityEngine'"
Reproducible with: 2022.1.0a16, 2022.2.8f1, 2023.1.0b6, 2023.2.0a4
Not reproducible with: 2020.3.45f1, 2021.3.19f1, 2022.1.0a15
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
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
- Entities Hierarchy Search “Show/Hide” button’s Lens Icon is blurry when the Editor is on an external monitor
Resolution Note:
UnityEngine.Caching Scripting API is not supported on the Web Platform(from Unity 2022.1 and onwards): https://docs.unity3d.com/2022.1/Documentation/ScriptReference/Caching.html
Resolution Note (2023.2.X):
UnityEngine.Caching Scripting API is not supported on the Web Platform(from Unity 2022.1 and onwards): https://docs.unity3d.com/2022.1/Documentation/ScriptReference/Caching.html