Search Issue Tracker
Fixed in 2022.2.X
Fixed in 2020.3.X, 2021.2.X
Votes
0
Found in
2020.2.0b2
2020.3
2020.3.17f1
2021.1
2021.1.0a1
2021.2
2022.1
Issue ID
1365939
Regression
Yes
Compute Buffer errors in the Player.log when building project with Vertex Compression set to Everything
Reproduction steps:
1. Open the attached project "1074438-IvalidStride.zip"
2. Open the "SampleScene" Scene
3. Set Vertex Compression to Everything in Edit > Player Settings > Other Settings > Vertex Compression
4. Build and run the project
5. Observe the Player.log file from "%USERPROFILE%\AppData\LocalLow\CompanyName\ProductName\Player.log"
Expected result: There are no errors in the Player.log file
Actual result: In the Player.log file occurs the following error: "Invalid stride 1 for Compute Buffer - must be greater than 0, less or equal to 2048 and a multiple of 4"
Reproducible with: 2020.2.0b2, 2020.3.19f1, 2021.1.0a1, 2021.1.22f1, 2021.2.0b13, 2022.1.0a10
Not reproducible with: 2019.4.30f, 2020.2.0a21, 2020.2.0b1
Note:
- Not reproducible on MacOS
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
- [Linux] Crash on MenuController::ExecuteMenuItem when selecting recent scene
- Warnings appearing in the Console window when creating a new URP 3D Sample project
- Texture2D "_MainTex" ShaderGraph property reference is empty when attached to a GameObject with a SpriteRenderer
- Build And Run button is not active when Platform is switched
- "TMP_FontAsset.ClearAtlasTextures" set the size of Atlases to 1x1 when "setAtlasSizeToZero" is true resulting in a constant clearing of Atlases of size 1x1 on Editor Shutdown
Resolution Note (fix version 2022.2):
Fixed in: 2022.1.0b1
Resolution Note (fix version 2021.2):
Fixed in: 2021.2.8f1
Resolution Note (fix version 2020.3):
Fixed in: 2020.3.26f1