AmplifyCreations / AmplifyShaderEditor-Feedback

4 stars 0 forks source link

ASE Editor – High CPU Cost Time Nodes #97

Open Dawie3565 opened 2 years ago

Dawie3565 commented 2 years ago

the leak can be reproduced in all pipelines and unity version from 2019.4 and higher the High CPU cost is from time nodes in continuousPreviewRefresh

files: --- CosTime.cs --- DeltaTime.cs --- SimpleTimeNode.cs --- SinTimeNode.cs --- TimeNode.cs

possible solution can be found in changing the method for node preview refreshing m_continuousPreviewRefresh = true; change to m_continuousPreviewRefresh = false;

Dawie3565 commented 10 months ago

re open ase latest version is found again with this same issue. multiple hard crashing (blue screen) from large leak in time nodes

suggestion

m_continuousPreviewRefresh = true; change to m_continuousPreviewRefresh = false;

Time node update.zip

Dawie3565 commented 10 months ago

Note this happens even with node preview turned off