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
- ScrollView elements are not restored to their original positions after removing a Layout Group with Undo action
- "Assembly with name already exists" errors are thrown when two packages with different technical names resolve to the same namespace
- A Select Scene Entry is added to Undo History when Deleting while a Scene is selected in the Hierarchy
- The Add Component Menu's back arrow accumulates phantom levels when the Menu is repeatedly opened into a Category and closed without selecting
- Advanced dropdown stops applying the Search Filter while the search text remains after clicking the header back Button during a Search
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.