Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

Occasion Thread failure

$
0
0
I don't know if this is primarily an occurrence in unity or simply a bug in my c# code, but when using threads to load or generate objects (chunks of a world) occasionally they fail. They are removed from the list of "toDo's" but do not generate/load.

I once had this problem because I wasn't giving the new created thread time to start, which I fixed by adding a "Thread.sleep(1)" just after the new Thread start. However i still occasionally get chunks that fail to load or generate. I have a...

Occasion Thread failure

Viewing all articles
Browse latest Browse all 1466670

Trending Articles