r/unity • • Sep 28 '20

Pain

Post image
348 Upvotes

27 comments sorted by

30

u/ObeseBumblebee Sep 28 '20

Usually when this happens it's just one error on a loop repeating itself.

11

u/Caspar220505 Sep 28 '20

I know but havent found an answer

2

u/[deleted] Sep 29 '20

Is the rrror anything we can help with?

2

u/Caspar220505 Sep 29 '20

Setdestination can only be called an an active navmesh

1

u/[deleted] Sep 29 '20

Sorry i only do 3d cant help there

2

u/Caspar220505 Sep 29 '20

I use it in 3d

1

u/RMP777 Sep 29 '20

Here is a list of things that you may want to double check:

Are you changing the navmeshs position using transform.position? If so use navmesh.warp

Is your navmeshed actually baked?

Are you instantiating the agent on the navmesh?

1

u/Caspar220505 Sep 29 '20

Ill check tose things this evening

1

u/Caspar220505 Sep 29 '20

It works!! Thank you very much

2

u/RMP777 Sep 29 '20

No prob! I actually had the same issue with my game

9

u/BacongamingExe Sep 28 '20

Spain without the S

7

u/mrterrillo Sep 29 '20

Only 6 warnings. Ship it 👍🏾

4

u/xSethrin Sep 29 '20

Thank god for Debug.Log() am I right?

3

u/yuval52 Sep 28 '20

I feel you bro

3

u/spilat12 Sep 28 '20

What have you done...

3

u/Zooties_Cafe Sep 28 '20

I can’t believe you’ve done this

3

u/wildBcat2 Sep 29 '20

Ugh. I know the pain.

4

u/f0kes Sep 28 '20

i actually like when i get errors. you get to know WHY it doesn't work.

4

u/yo-boy-cactus Sep 29 '20

Well yes but actually no.

2

u/vert178 Sep 29 '20

Happened to me yesterday. Turns out its just a typo on the namespace of one script

2

u/GameDevTazdik Sep 29 '20

I feel you. That's hell of a pain!

1

u/0PD_horizon Sep 29 '20

When you make a c# document and write JavaScript

1

u/autofasurer Oct 13 '20

Oh right. That 1 missing curly bracket all the way on top.

1

u/[deleted] Jan 15 '22

Oh no