Search Issue Tracker
Won't Fix
Fixed in 10.5.0
Votes
0
Found in [Package]
10.1.0
Issue ID
1308481
Regression
Yes
Editor crashes on VFXSystem::UploadUniforms or throws errors when entering play mode with VFX Graph
Reproduction steps:
1. Open the attached "case_1308481-Crash" project
2. Open scene "PhidgetsVFXTest" and enter the play mode
3. Observe the console
Expected result: No errors are shown in the console
Actual result: Console is spammed with errors or Editor crashes
Reproducible with:
(7.5.3 Crash) 2019.4.20f1, 2020.1.0a14,
(8.3.0 Errors) 2020.1.14f1, 2020.1.17f1, 2020.2.0b5
(10.1.0 - 12.0.0 Errors) 2020.2.0b8, 2020.2.4f1, 2021.1.0b6, 2021.2.0a4
Not reproducible with:
(7.5.3 - 8.2.0) 2020.1.0a15, 2020.1.13f1
(9.0.0-preview.13 - 10.0.0-preview.27) 2020.2.0b6, 2020.2.0b7
Can't test: (4.10.0-preview) 2018.4.31f1 (compiler errors)
Notes:
The crash has no connection to the package version, only to the Editor. It no longer reproduces from 2020.1.0a15
It crashes in 2020.1.0a14 with all available Visual Effect Graph versions, while doesn't crash with the same versions in 2020.1.0a15
Deleting VFX Graph from the project solves both issues
Errors:
[Test] [System (1)] Initialize Particle.compute: Kernel at index (0) is invalid
Shader error in '[Test] [System (1)] Update Particle': undeclared identifier 'GetWorldToObjectMatrix' at kernel CSMain at /Users/USERNAME/Downloads/case_1308481-PhidgetsSocial/Library/PackageCache/com.unity.visualeffectgraph@12.0.0/Shaders/VFXCommon.hlsl(87) (on metal)
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
- Rigidbody2D.Slide API does not have the needed configuration when creating a 2D Top-Down character controller
- Opening reference for "Playables"component redirects to a missing page
- Sprite Renderer image is changed when switching Mask Interaction and changing Sprite to a shared Sprite
- An unsigned integer is not compared with an integer correctly in player when using IL2CPP backend
- Graphical artifacts are being rendered in Scenes that are loaded during run-time when GPU Resident Drawer is turned on
Resolution Note:
The crash itself has been indirectly fixed by other change in 2020.1.0a15, especially the compilation on import behavior.
The error has been fixed with this change : https://github.com/Unity-Technologies/Graphics/commit/d42d10b1b1b1ac365e4e0979b5af8e7df12c1e32
Also, this change https://github.com/Unity-Technologies/Graphics/pull/3950/commits/bc1df30eeaa74151c2b1e7a0c8d87a78363e6876 prevent the double definition of PackHeightmap.
However, the built-in renderer isn't officially supported by the Visual Effect Graph. This package requires URP or HDRP.