Answer by yashpal
@husainh00, here "i" is never changed. Here "while" is continuous running because "i" is always less than 10. so unity stuck and crash.
View ArticleAnswer by SeasiaInfotechind
Here Unity Crashes because you are running an infinite loop as stated by YashPal. Value of "i" never changes here. as lastUpdate = Time.time ,So Time.time-lastUpdate
View Article
More Pages to Explore .....