Search Issue Tracker
Duplicate
Votes
0
Found in [Package]
1.5.1-pre.3
Issue ID
1389918
Regression
No
[Visual Scripting] GraphPointerException occurs when nesting graph within itself
GraphPointerException occurs when nesting graph within itself
Steps to repro:
1. Create a new Project
2. Project window > Right-click > Create
3. Visual Scripting > Script Graph > Edit graph
4. Drag and drop Script Graph asset from project window to Script Graph window
5. Sample Scene > Select the Main Camera > Add component > Script Machine
6. Drag and drop Script Graph asset from the Project window to Script Machine Component under Graph property
7. Play Scene
Actual Result:
GraphPointerException appears in the console
Expected Result:
The user is not allowed to create cyclic Script Graphs
Reproducible on: 2021.2.0a3, 2021.1.0b5, 2021.1.0b1
Note: Visual Scripting was introduced in 2021.1.0b1
Package Version 1.5.1-pre.3
Environment:
Windows 10
Stack Trace:
GraphPointerException: Max recursion depth of 100 has been exceeded. Are you nesting a graph within itself?
If not, consider increasing 'Recursion.defaultMaxDepth'.
[ GameObject > SuperUnit#ad936... > SuperUnit#ad936... > SuperUnit#ad936... > SuperUnit#ad936... > SuperUnit#ad936... > SuperUnit#ad936... > SuperUnit#ad936... > SuperUnit#ad936... > SuperUnit#ad936... > SuperUnit#ad936... > SuperUnit#ad936... > SuperUnit#ad936... > SuperUnit#ad936... > SuperUnit#ad936... > SuperUnit#ad936... > SuperUnit#ad936... > SuperUnit#ad936... > SuperUnit#ad936... > SuperUnit#ad936... > SuperUnit#ad936... > SuperUnit#ad936... > SuperUnit#ad936... > SuperUnit#ad936... > SuperUnit#ad936... > SuperUnit#ad936... > SuperUnit#ad936... > SuperUnit#ad936... > SuperUnit#ad936... > SuperUnit#ad936... >
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- NavMeshModifier.OnEnable/OnDisable gets progressively slower when called repeatedly
- "System.Net.CookieContainer" throws an "ArgumentException" error when using a non-UTF-8 machine locale and hostname
- Crash on ModelImporter::ImportSkinnedMesh when disabling "Strip Bones" on a specific FBX model
- WebGL Development builds ignore the "Compression Format" setting when using "Gzip" compression
- [tvOS] Project crashes on startup on Apple TV simulator (both X86_64 and ARM64 architectures)
Add comment