• Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges

While-loop

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

harpiagamesstudio commented

[Solved]Cant Find loop that freezes Unity

Nov 18, '20 in Help Room

2 Replies

0 Votes

avatar image

akashdarshan99 answered

While loop VS WaitWhile in coroutines

Nov 13, '20 coroutine·wait·while-loop

3 Replies

0 Votes

avatar image

unity_9d9kZo9fmUJvtA asked

Player Movement when phone shakes

Oct 22, '20 android·accelerometer·while-loop·shaking·steps

0 Replies

0 Votes

avatar image

Bunny83 answered

Unity freezes after running this basic code.

Oct 19, '20 time·float·if-statements·while-loop·basic programming

1 Reply

0 Votes

avatar image

UNDERHILL commented

Navmesh Pathfinding Freeze (may be a while loop thing)

Oct 18, '20 navmesh·navmeshagent·while·freezing·while-loop

0 Replies

0 Votes

avatar image

rh_galaxy edited

This code is very expensive and is causing my Unity to crash, how do I prevent this?,This code is very resource intensive and causes my unity to freeze. How do I prevent this?

Oct 8, '20 while-loop

1 Reply

0 Votes

avatar image

isaacng3b commented

Vector3.MoveTowards becomes instant in while loop or freezes unity

Sep 4, '20 movetowards·while·while-loop·while loop

1 Reply

0 Votes

avatar image

PoorTree edited

Many loops to instantiate different prefabs during a given time

Aug 19, '20 in Help Room

0 Replies

0 Votes

avatar image

BlobOfAwe asked

If Statement within a while loop only checks the if condition once.

Aug 17, '20 in Help Room

0 Replies

0 Votes

avatar image

Hellium commented

Can you not use while loops in unity? if so how can i change this to work,Can you not use while loops in unity?

Aug 11, '20 while-loop

2 Replies

0 Votes

avatar image

joaopedroferreira0318 commented

infinite while loop checking if a gameObject is in the air

Aug 1, '20 while-loop

1 Reply

0 Votes

avatar image

unity_NgpsXlcGwdegUw edited

My code is working wierd! Please help me understand why!,My code is working weird! Pleas help me understand why

Jul 22, '20 coroutine·debug·while-loop

1 Reply

0 Votes

avatar image

pearsauce commented

For Loop Fires Once In While Loop

Jul 15, '20 in Help Room

1 Reply

0 Votes

avatar image

N8Dev_ answered

Unity Crashes From While Command

Jun 22, '20 freeze·while-loop

7 Replies

0 Votes

avatar image

AsclepiiusUnknown published

Unity Crashes From While Loop and Can't fix

Jun 15, '20 freeze·crashing·while-loop

0 Replies

0 Votes

avatar image

Artik2442 commented

Problem with Collision (3D)

Jun 2, '20 collision·3d·while-loop

2 Replies

0 Votes

avatar image

OnEd0t commented

Is it possible to call a method once per frame inside of another method?

May 15, '20 loop·webcamtexture·frame·webcam·while-loop

2 Replies

0 Votes

avatar image

Hostam converted comment to answer

Loop problem

May 8, '20 scripting problem·while·while-loop·2d array

2 Replies

0 Votes

avatar image

richardzzzarnold asked

Coroutine WHILE function not finding GO

May 6, '20 camera·coroutine·while-loop

0 Replies

0 Votes

avatar image

CycloneWhale commented

While loop crashes unity

Apr 30, '20 while-loop

1 Reply

0 Votes

avatar image

Tjoeker edited

Rotate object as long as it's colliding

Apr 9, '20 rotation·collision·trigger·while-loop

0 Replies

0 Votes

avatar image

Larry-Dietz commented

"If statement" and whiled loop acting strange and crashes

Dec 16, '19 in Help Room

1 Reply

0 Votes

avatar image

Jacobsc commented

How to get something to be inactive while there is a certain value

Dec 9, '19 if-statements·while·while-loop·while loop·inactive

2 Replies

0 Votes

avatar image

Donlod commented

Quaternion.Slerp issue

Nov 12, '19 while·while-loop·while loop·quaternion.slerp

1 Reply

0 Votes

avatar image

Glurth commented

Coroutine while(bool) kills Unity Closed

Oct 9, '19 coroutine·while-loop·endless loop

1 Reply

0 Votes

avatar image

revolute commented

Time.deltaTime not working with while loop

Oct 8, '19 time.deltatime·while-loop

1 Reply

0 Votes

avatar image

ErikH2000 answered

Why is my Timer like this?

Sep 27, '19 timer countdown·while-loop

1 Reply

0 Votes

avatar image

Vega4Life answered

Coroutine only works one way

Aug 12, '19 in Help Room

1 Reply

0 Votes

avatar image

Bunny83 commented

Do-while loop freezes the engine when running the game

Jun 21, '19 c#·freeze·while-loop·queue

-1 Replies

0 Votes

avatar image

JamieRoss95 commented

Can't figure out While Loop crash?

Jun 17, '19 lerp·coroutines·for-loop·while-loop

1 Reply

0 Votes

  • 1
  • 2
  • 3
  • 4
  • 5
  • ›

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Related Topics

while c# coroutine while loop loop freeze if-statements crash coroutines crashing instantiate unity 5 freezing looping javascript update for-loop yield lerp loops condition ienumerator waitforseconds float list
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges