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
- var VisionOSEDRHeadromm has a comma instead of a dot when building with Metal Rendering App Mode and local OS localization is set to German
- IAP Catalog remove product “x” and add product “+” buttons are not consistent with other remove and add buttons in the Editor
- Performance issues in Play Mode when quickly hovering the mouse cursor over Hierarchy GameObjects
- Frame Debugger displays incorrect output when FidelityFX Super Resolution or Spatial-Temporal Upscaler is used with Temporal Anti-aliasing or Subpixel Morphological Anti-aliasing
- The layout system is failing to correctly calculate or apply the height of the Japanese fallback font when the primary English font's metrics are used
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.