-
Notifications
You must be signed in to change notification settings - Fork 839
[VFX] Crash with subgraph #5104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
51 commits
Select commit
Hold shift + click to select a range
01e8e42
Add regression test on basic sanitize
PaulDemeulenaere 43b4832
Move SanitizeForImport
PaulDemeulenaere e228f63
*Minor : Missing InvariantCultureIgnoreCase flag in EndsWith
PaulDemeulenaere 4d22c94
*Update changelog.md
PaulDemeulenaere 99ab5fb
*Fix HDRP warning
PaulDemeulenaere d0d9438
Revert "*Fix HDRP warning"
PaulDemeulenaere cbfa99c
More conservative way of workaround Preprocess issue
PaulDemeulenaere 508d713
Remove DestroyImmediate
PaulDemeulenaere 1fb0835
Revert "Remove DestroyImmediate "
PaulDemeulenaere ff51dcf
Add HDRPUserSettings
PaulDemeulenaere 6c5f90b
Revert "Add HDRPUserSettings"
PaulDemeulenaere a569cbe
Force m_WizardPopupAtStart to false
PaulDemeulenaere 4f90950
Merge branch 'master' into vfx/fix/1344645-sanitize-failure
PaulDemeulenaere ded88dc
Improvement of this workaround after discussion with @julienf
PaulDemeulenaere 9e94d07
Minor : Editor Test cleanup
PaulDemeulenaere 8d4cdec
Gather all ImportAsset after all Sanitize from the same batch
PaulDemeulenaere f5a6be5
Minor changes : Change log & Safe execption handling
PaulDemeulenaere d17ddef
Merge branch 'master' into vfx/fix/1344645-sanitize-failure
PaulDemeulenaere 2d1fa12
Add regression test (which is expecting to crash on master)
PaulDemeulenaere c643c1e
Merge branch 'vfx/fix/1344645-sanitize-failure' into vfx/fix/1345426-…
PaulDemeulenaere 5e6c3ea
Merge branch 'master' into vfx/fix/1344645-sanitize-failure
PaulDemeulenaere 15059cf
Fix sanitize issue during the very first loading
PaulDemeulenaere 8f944a6
Merge branch 'master' into vfx/fix/1344645-sanitize-failure
PaulDemeulenaere b0219a1
Merge branch 'vfx/fix/1344645-sanitize-failure' into vfx/fix/1345426-…
PaulDemeulenaere da1d40e
*Revert this* : OnSRPChanged & PrepareSubgraphs are public
PaulDemeulenaere a105d01
Not a valid fix : prepare subgraphs just before reimport
PaulDemeulenaere 90ea420
Rename ToSubGraphOperator to ConvertToSubGraphOperator
PaulDemeulenaere ad447b1
Experiment : trying with a force double import
PaulDemeulenaere bbcf70d
Test : Don't know what PrepareSubgraph does better
PaulDemeulenaere 2b8a971
Remove dirty PrepareSubgraphs in VFXViewWindow
PaulDemeulenaere 2027002
*Add comment about reason behind PrepareSubgraphs requirement
PaulDemeulenaere 0fb7316
*Update changelog
PaulDemeulenaere 8e1c455
Remove unexpected public/private
PaulDemeulenaere 8c442a8
*Minor* Replace `return` by `continue`
PaulDemeulenaere 2c0bde7
Merge branch 'master' into vfx/fix/1344645-sanitize-failure
PaulDemeulenaere e19d404
Extend test & Add some notes
PaulDemeulenaere 9ffde33
Remove ClearRuntimeData
PaulDemeulenaere 6dc0d56
*Add note about reason of failure for playmodeXR
PaulDemeulenaere 3aa94cc
Merge branch 'master' into vfx/fix/1344645-sanitize-failure
PaulDemeulenaere d726339
Merge branch 'vfx/fix/1344645-sanitize-failure' into vfx/fix/1345426-…
PaulDemeulenaere d2eb21c
Simpler solution : Use backup system instead of reimporting twice
PaulDemeulenaere da7d41e
Restore test which wasn't working before
PaulDemeulenaere f47bbd7
Minor : update comment
PaulDemeulenaere 404df89
Merge branch 'master' into vfx/fix/1345426-crash-with-subgraph
PaulDemeulenaere dec84fa
*Fix bad conflict resolution
PaulDemeulenaere 2421bc5
Restored previously skipped PrepareSubgraphs
PaulDemeulenaere 31f756c
Revert "Restored previously skipped PrepareSubgraphs"
PaulDemeulenaere 29c18b7
Fix missing ResyncSlots on the very first creation of the subgraph
PaulDemeulenaere ba445f8
Merge branch 'master' into vfx/fix/1345426-crash-with-subgraph
PaulDemeulenaere 76db742
Merge branch 'master' into vfx/fix/1345426-crash-with-subgraph
julienf-unity c0a3e72
Merge branch 'master' into vfx/fix/1345426-crash-with-subgraph
julienf-unity File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But still this means that CompileForImport can still trigger a SetDirty during compilation, which can potentially trigger, another useless import, or worse an infinite compile?
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The dirty flag (which isn't serialized) about compilation is cleared at the end of compilation. See in
CompileForImport
:The issue is due to preprocess we are doing before the actual compilation.
The backup doesn't restore these dirty flags.
Then, the SetDirty which can occurs (maybe ?) isn't detected/triggered, otherwise, I would have a infinite compilation in the editor test I introduced.