#Optimizing my terrain
1 messages · Page 1 of 1 (latest)
This code has zero optimization
thats the problem
Allocations, running the code too often, synchronous on the main thread, not parallelized
yeah i know but i have never worked with something this complicated before and have no idea how to fix it
You probably need to profile the code and research improvements step by step
You need to look at the other view and use deep profiling
deep profiling froze my unity for 20minutes and pulled all of my ram at once
It tells you exactly how long each method call takes relative to others (mind the profiling overhead that makes everything 10x slower)
Then you have a major error in your code
You can use profiler markers in specific parts of your code to profile them. This would be lighter than deep profiling.