Search Issue Tracker
Won't Fix
Won't Fix in 2023.3.X
Votes
0
Found in
2021.3.32f1
2022.3.13f1
2023.1.20f1
2023.2.0b18
2023.3.0a13
Issue ID
UUM-55526
Regression
No
Crash on VFXRenderer_Render when both Visual Effect and Outline Components are added to a GameObject
Reproduction steps:
1. Open the attached "crash_IN-59284.zip" project
2. Open the "\Assets\Scenes\SampleScene.unity"
3. Enter the Play Mode
4. Observe the crash
Reproduced with: 2021.3.32f1, 2022.3.13f1, 2023.1.20f1, 2023.2.0b18, 2023.3.0a13
Reproduced on: Windows 10 (22H2)
Not reproduced on: No other environments tested
Note: Reproducible in Player
First few lines of stack trace:
0x00007FFBCC9412A6 (Unity) VFXRenderer_Render
0x00007FFBCB93D667 (Unity) BatchRenderer::RenderBatch
0x00007FFBCB933EE8 (Unity) BatchRenderer::Add
0x00007FFBCBB0048D (Unity) ScriptableRenderLoopDraw
0x00007FFBCBB0141E (Unity) ScriptableRenderLoopJob
Comments (1)
-
toddw
Feb 28, 2024 19:22
How hard is it for Unity to protect devs like me from spending days trying to isolate the cause of this crash since there is literally no useful information logged when this happens?
Is this hard?
public Material[] sharedMaterials
{
get { return ... }
set
{
if (this.GetType() != typeof(VFXRenderer))
{
... = value;
}
}
}
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 issue come from the user script changing the material list of the VisualEffect renderer.
This is not supported in VFX graph, and it can be avoided by checking the renderer type on the user script before modifying the materials list
Resolution Note (2023.3.X):
The issue come from the user script changing the material list of the VisualEffect renderer.
This is not supported in VFX graph, and it can be avoided by checking the renderer type on the user script before modifying the materials list