# (SOLVED) Example "Spawn game object"

**URL:** <https://forum.defold.com/t/solved-example-spawn-game-object/64259>\
**Category:** Bugs\
**Created:** [January 10, 2020, 2:02pm UTC](https://forum.defold.com/t/solved-example-spawn-game-object/64259 "2020-01-10T14:02:43Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Brolad](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/brolad/32/19410_2.png) [@Brolad](https://forum.defold.com/u/Brolad)\
**Post date:** [January 10, 2020, 2:02pm UTC](https://forum.defold.com/t/solved-example-spawn-game-object/64259/1 "2020-01-10T14:02:43Z")

</div>

Hi there!

I have worked with example [Spawn game object](https://defold.com/examples/basics/spawn) and found the wrong code for **bunny.script**.  
Current result:

 ![image](https://forum-defold-uploads.b-cdn.net/original/3X/8/e/8e78692878762147b9bb502d84f1a1e7f856fe44.png)

I checked Defold examples repository and for this example I found the next code [https://github.com/defold/examples/blob/master/examples/basics/spawn/bunny.script](https://github.com/defold/examples/blob/master/examples/basics/spawn/bunny.script) which works perfect and as expecting

---

<div class="post-metadata">

**Author:** ![britzl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/britzl/32/23_2.png) [@britzl](https://forum.defold.com/u/britzl)\
**Post date:** [January 10, 2020, 5:17pm UTC](https://forum.defold.com/t/solved-example-spawn-game-object/64259/2 "2020-01-10T17:17:08Z")

</div>

Interesting, something must go wrong when we generate the page from the example. I’ll take a look next week. Thank you for reporting!

---

<div class="post-metadata">

**Author:** ![britzl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/britzl/32/23_2.png) [@britzl](https://forum.defold.com/u/britzl)\
**Post date:** [January 14, 2020, 8:30am UTC](https://forum.defold.com/t/solved-example-spawn-game-object/64259/3 "2020-01-14T08:30:39Z")

</div>

This issue has now been fixed. Thank you for letting us know!

---

<div class="post-metadata">

**Author:** ![Brolad](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/brolad/32/19410_2.png) [@Brolad](https://forum.defold.com/u/Brolad)\
**Post date:** [January 14, 2020, 9:58am UTC](https://forum.defold.com/t/solved-example-spawn-game-object/64259/4 "2020-01-14T09:58:52Z")

</div>

Thanks for the fix! But, I see url of all examples pages were updated, is it ok? : )  
Also, if you open [Getting started with Defold](https://defold.com/tutorials/getting-started/) page and click on tab “Examples” you’ll be redirected to [https://defold.com/examples/simple\_move](https://defold.com/examples/simple_move) page which does not exist.

 ![image](https://forum-defold-uploads.b-cdn.net/original/3X/6/3/63296bfa9afffe376ca27d0fb461cdecc6ec420e.png)

Could you check it, pls?

---

<div class="post-metadata">

**Author:** ![britzl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/britzl/32/23_2.png) [@britzl](https://forum.defold.com/u/britzl)\
**Post date:** [January 14, 2020, 11:13am UTC](https://forum.defold.com/t/solved-example-spawn-game-object/64259/5 "2020-01-14T11:13:40Z")

</div>

> [@Brolad](#):
>
> But, I see url of all examples pages were updated, is it ok?

Yes, this is how it was before the site update a few months ago. I have updated the links I’ve found in forum posts to work with this format.

> [@Brolad](#):
>
> Also, if you open [Getting started with Defold](https://defold.com/tutorials/getting-started/) page and click on tab “Examples” you’ll be redirected to [https://defold.com/examples/simple\_move](https://defold.com/examples/simple_move) page which does not exist.

Fixed! Thanks.

---

<div class="post-metadata">

**Author:** ![Brolad](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/brolad/32/19410_2.png) [@Brolad](https://forum.defold.com/u/Brolad)\
**Post date:** [January 14, 2020, 11:52am UTC](https://forum.defold.com/t/solved-example-spawn-game-object/64259/6 "2020-01-14T11:52:43Z")

</div>

Hmmm, just checked and looks like it’s wrong still 😕 I have clean a browser cache

---

<div class="post-metadata">

**Author:** ![britzl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/britzl/32/23_2.png) [@britzl](https://forum.defold.com/u/britzl)\
**Post date:** [January 14, 2020, 9:00pm UTC](https://forum.defold.com/t/solved-example-spawn-game-object/64259/7 "2020-01-14T21:00:23Z")

</div>

> [@Brolad](#):
>
> Hmmm, just checked and looks like it’s wrong still

Doh, I misspelled the initial URL.

[https://defold.com/examples/basic/simple\_move](https://defold.com/examples/basic/simple_move) should be [https://defold.com/examples/basics/simple\_move](https://defold.com/examples/basics/simple_move)

New version up soon. Many thanks @Brolad for spotting my quick fixes. I’m doing too many things at once. 🙂
