Search Issue Tracker
By Design
By Design in 2023.2.X
Votes
1
Found in
2021.3.27f1
2022.3.3f1
2023.1.1f1
2023.2.0a20
Issue ID
UUM-41251
Regression
No
No warning is thrown when a non-readable mesh is assigned
How to reproduce:
1. Open the "IN_44940" project
2. Press File -> Build And Run
3. Observe the Console
Expected result: warning about Mesh being marked as non-readable is thrown before or after Build And Run is pressed
Actual result: no warning about Mesh being marked as non-readable is thrown
Reproducible with: 2021.3.27f1, 2022.3.3f1, 2023.1.1f1, 2023.2.0a20
Reproducible on: Windows 10 Pro
Note: this warning is needed for build since Meshes are not readable when built on Android, Windows Standalone and WebGL (everything works in the Play Mode)
Workaround: in the Player, the error is thrown regarding Mesh not being marked as readable so following provided steps in the Editor the issue can be easily fixed
Error message: “InvalidOperationException: Not allowed to access vertex data on mesh 'BendPlank' (isReadable is false; Read/Write must be enabled in import settings)”
Comments (1)
-
DevDunk
Jun 29, 2023 13:50
The important part for me is that this does not happen in play mode, but does in builds. This should be consistent and at least throw a warning
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
- VFX Graph Debug Info overlaps the "Initialize" block debug info by default
Resolution Note:
The objects that cause the warning are marked as static. Furthermore static batching is enabled in the project. At build time the marked meshes are batched together. The resulting mesh has r/w disabled and thereby triggers the exceptions at runtime. Disabling static batching results in the no errors.
Please file a feature request on our product board if you'd like to see us make improvements to the read/write behavior:
https://portal.productboard.com/8ufdwj59ehtmsvxenjumxo82/c/452-didn-t-find-what-you-were-looking-for?utm_medium=social&utm_source=portal_share
Resolution Note (2023.2.X):
The objects that cause the warning are marked as static. Furthermore static batching is enabled in the project. At build time the marked meshes are batched together. The resulting mesh has r/w disabled and thereby triggers the exceptions at runtime. Disabling static batching results in the no errors.
Please file a feature request on our product board if you'd like to see us make improvements to the read/write behavior:
https://portal.productboard.com/8ufdwj59ehtmsvxenjumxo82/c/452-didn-t-find-what-you-were-looking-for?utm_medium=social&utm_source=portal_share