# Defold 1.2.150 has been released

**URL:** <https://forum.defold.com/t/defold-1-2-150-has-been-released/47998>\
**Category:** Release notes\
**Created:** [April 1, 2019, 12:07pm UTC](https://forum.defold.com/t/defold-1-2-150-has-been-released/47998 "2019-04-01T12:07:50Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mathias\_Westerdahl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/mathias_westerdahl/32/228_2.png) [@Mathias\_Westerdahl](https://forum.defold.com/u/Mathias_Westerdahl)\
**Post date:** [April 1, 2019, 12:07pm UTC](https://forum.defold.com/t/defold-1-2-150-has-been-released/47998/1 "2019-04-01T12:07:50Z")

</div>

# Defold 1.2.150

We fixed a touch issue on HTML5 builds running on iOS, when activating the multitasking menu.

You can now send a message to you running (local) instance of the Defold engine,  
to resize to a certain size. This is, for example, useful for developing gui’s.

We have updated the profiler documentation a bit, and we also created  
[a new video](https://forum.defold.com/t/defold-video-channel/15889/71) explaining the latest features in the profiler.

The exported live update package names now contain the corresponding platform name,  
making them easier to maintain.

We have also made a change to our raycast function. We deprecated the old one, and instead created two new ones: [`physics.raycast`](https://www.defold.com/ref/physics/#physics.raycast:from-to-groups) and [`physics.raycast_async`](https://www.defold.com/ref/physics/#physics.raycast_async:from-to-groups--request_id-)  
The latter is an asynchronous implementation, using messages (as before). The former version is synchronous, and returns the result directly in the script.

## DefoldSDK

We have added [dmScript::CheckVector3](https://www.defold.com/ref/dmScript/?version=e79cdece4f5c8498302b3b00591808e3dc5a1827#dmScript::CheckVector3:L-index)/ToVector3/PushVector3 et al to the Defold SDK.  
These are available for Vector3, Vector4, Quat and Matrix4.

Also, in order to support that, you now also have access to Sony’s vectormath library.

And there is now also a dmScript::JsonToLua() which can convert a previously loaded dmJson::Document directly to a Lua table.

## Last version of Editor 1

This is the last update of the old editor (a.k.a Editor 1) we’ll ever release.  
If you’re still using it, please download the new editor from [d.defold.com](http://d.defold.com).

# Engine

- `DEF-3729` - **Added** : Possibility to resize engine from message and exposed controls for it in Editor
- `DEF-3870` - **Fixed** : Touches get “stuck” when using multitasking on iPhoneX
- `DEF-3846` - **Fixed** : Atlas larger than 4k doesn’t work in GUI
- `DEF-3830` - **Fixed** : Include platform in liveupdate resourcepack name
- `DEF-3862` - **Fixed** : Reduce profiler overhead on script function call
- `DEF-3864` - **Fixed** : Profiler documentation fixes
- `DEF-3800` - **Fixed** : Small cleanup of html5 manifest template properties
- `DEF-3856` - **Fixed** : Updated editor links on [d.defold.com](http://d.defold.com)
- `DEF-3868` - **Fixed** : bob.jar now generates an error if there are duplicate files (i.e. library vs local files)

# Editor

- `DEFEDIT-1600` - **Added** : Display hovered tile index in tile source view
- `DEFEDIT-1587` - **Added** : Added Abort Bundle option
- `DEFEDIT-1615` - **Added** : Reuse build cache between editor sessions
- `DEFEDIT-1572` - **Added** : Added progress indicator to _Search Results_ tab when pressing _Keep Results_ in _Search in Files_ dialog before search completes
- `DEFEDIT-1565` - **Changed** : [Improved debugger](https://forum.defold.com/t/debugger-improvements/46677) by making it more stable at handling circular references
- `DEFEDIT-1566` - **Changed** : Pretty-print _Evaluate Lua_ results
- `DEFEDIT-1622` - **Changed** : Improved editor responsiveness on printing _Evaluate Lua_ results of big values such as “`_G`”
- `DEFEDIT-1568` - **Changed** : Improved project load times
- `DEFEDIT-1589` - **Changed** : Improved rendering performance
- `DEFEDIT-1637` - **Changed** : Console no longer highlights tabs as rogue indentation
- `DEFEDIT-1641` - **Changed** : Improved performance of code editor on parsing big lua conditions
- `DEFEDIT-1604` - **Fixed** : Fixed updater problem on Windows that didn’t allow to update to latest version
- `DEFEDIT-1605` - **Fixed** : Fixed box selection exception in Outline view
- `DEFEDIT-1607` - **Fixed** : Fixed scene picking not respecting z-order
- `DEFEDIT-1613` - **Fixed** : Fixed mouse scroll being slow on macOS
- `DEFEDIT-1496` - **Fixed** : Fixed tilde key inserting unwanted characters on swedish keyboard layout
- `DEFEDIT-1623` - **Fixed** : Fixed AABBs of particle emitters
- `DEFEDIT-1632` - **Fixed** : Fixed Enter behavior in bundle dialog
- `DEFEDIT-1633` - **Fixed** : Fixed exception in Curve View
- `DEFEDIT-1634` - **Fixed** : Fixed exception in empty tilesource
- `DEFEDIT-1635` and `DEFEDIT-1639` - **Fixed** : Fixed inability to load PVRTexLib on some windows machines

---

<div class="post-metadata">

**Author:** ![benjames171](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/benjames171/32/34759_2.png) [@benjames171](https://forum.defold.com/u/benjames171)\
**Post date:** [April 1, 2019, 2:44pm UTC](https://forum.defold.com/t/defold-1-2-150-has-been-released/47998/2 "2019-04-01T14:44:25Z")

</div>

> `DEFEDIT-1600` - **Added** : Display hovered tile index in tile source view

This is making my life so much easier, thanks!

---

<div class="post-metadata">

**Author:** ![splashshadow](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/splashshadow/32/2374_2.png) [@splashshadow](https://forum.defold.com/u/splashshadow)\
**Post date:** [April 1, 2019, 3:06pm UTC](https://forum.defold.com/t/defold-1-2-150-has-been-released/47998/3 "2019-04-01T15:06:25Z")

</div>

Hi, thx for the new release.

Is this fix `DEFEDIT-1589` - **Changed** : Improved rendering performance  
also fixed next issue with newer AMD drivers ?

> [@Defold Editor crashed](https://forum.defold.com/t/defold-editor-crashed/35643):
>
> Hi. I see repeatedly stable crush Defold Editor. My env: Phenom x4, 16 gb mem, ATI7870, win7 x64, last Defold Editor version \*.142 Steps to reproduce: 1 Open gui scene 2 Add Text Node 3 Editor crushed in 1 second Late last night i see same type of crush and on next day i update some software on PC. Java 8 to 11.0.1 (yes i know that Defold Editor delivered with own jre version) and ATI drivers from 18.5.2 to latest 18.11.2. So now this crush repropuced more strong. Please let me workaroun…

---

<div class="post-metadata">

**Author:** ![Erik\_Angelin](https://forum-defold.b-cdn.net/letter_avatar_proxy/v4/letter/e/59ef9b/32.png) [@Erik\_Angelin](https://forum.defold.com/u/Erik_Angelin)\
**Post date:** [April 1, 2019, 8:40pm UTC](https://forum.defold.com/t/defold-1-2-150-has-been-released/47998/4 "2019-04-01T20:40:32Z")

</div>

That crash should no longer happen since we changed our selection method a while back.

---

<div class="post-metadata">

**Author:** ![splashshadow](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/splashshadow/32/2374_2.png) [@splashshadow](https://forum.defold.com/u/splashshadow)\
**Post date:** [April 1, 2019, 8:52pm UTC](https://forum.defold.com/t/defold-1-2-150-has-been-released/47998/5 "2019-04-01T20:52:52Z")

</div>

WWWWou! Thx you, i retest system in near 2 days. Thx!

---

<div class="post-metadata">

**Author:** ![approbo.games](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/approbo.games/32/14162_2.png) [@approbo.games](https://forum.defold.com/u/approbo.games)\
**Post date:** [April 1, 2019, 10:14pm UTC](https://forum.defold.com/t/defold-1-2-150-has-been-released/47998/6 "2019-04-01T22:14:42Z")

</div>

Wow! Editor updates are really trucking now! Thanks!

I’m loving the hovered tile index. It would be great to see this in the other editor screens (collection, gameobject etc) showing:  
Cursor pos  
Object pos  
Object rotation  
Object scale

Depending on the current action selected top right. Currently it’s a bit of a guess unless you type the values in.

---

<div class="post-metadata">

**Author:** ![dmitriy](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/dmitriy/32/18452_2.png) [@dmitriy](https://forum.defold.com/u/dmitriy)\
**Post date:** [April 2, 2019, 12:37pm UTC](https://forum.defold.com/t/defold-1-2-150-has-been-released/47998/7 "2019-04-02T12:37:14Z")

</div>

How to use ToVector3/CheckVector3 in native extensions?  
I got only "member access into incomplete type “Vectormath::Aos::Vector3” when try to get components(getX(), Y, Z, I suppose? Should be documented, btw).

---

<div class="post-metadata">

**Author:** ![AGulev](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/agulev/32/4541_2.png) [@AGulev](https://forum.defold.com/u/AGulev)\
**Post date:** [April 2, 2019, 6:03pm UTC](https://forum.defold.com/t/defold-1-2-150-has-been-released/47998/8 "2019-04-02T18:03:23Z")

</div>

I’m not sure, but It seems like `dmsdk/vectormath/cpp/vectormath_aos.h` should be included into `<dmsdk/sdk.h>`. @Mathias_Westerdahl knows more.

This code works:

```lua
#include <dmsdk/vectormath/cpp/vectormath_aos.h>
...
Vectormath::Aos::Vector3* v3 = dmScript::CheckVector3(L, 1);
Vectormath::Aos::Vector3 v(2.0f, 1.0f, 8.0f);
dmLogInfo("vector1: %f %f %f", v.getX(), v.getY(), v.getZ());
dmLogInfo("vector2: %f %f %f", v3->getX(), v3->getY(), v3->getZ());

```

---

<div class="post-metadata">

**Author:** ![dmitriy](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/dmitriy/32/18452_2.png) [@dmitriy](https://forum.defold.com/u/dmitriy)\
**Post date:** [April 2, 2019, 6:09pm UTC](https://forum.defold.com/t/defold-1-2-150-has-been-released/47998/9 "2019-04-02T18:09:16Z")

</div>

> [@Mathias\_Westerdahl](#):
>
> Also, in order to support that, you now also have access to Sony’s vectormath library.

It would be nice if you also included documentation for this.

The documentation for ToVector / CheckVector is incorrect.  
The difference is not that they return a value and a pointer (both return a pointer), but that one checks the value in the stack and displays an error message, while the other just silently crashes the engine.

---

<div class="post-metadata">

**Author:** ![Mathias\_Westerdahl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/mathias_westerdahl/32/228_2.png) [@Mathias\_Westerdahl](https://forum.defold.com/u/Mathias_Westerdahl)\
**Post date:** [April 3, 2019, 6:41am UTC](https://forum.defold.com/t/defold-1-2-150-has-been-released/47998/10 "2019-04-03T06:41:00Z")

</div>

Sure I’ll fix the documentation.

What do you mean “silently crashes the engine”?

---

<div class="post-metadata">

**Author:** ![dmitriy](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/dmitriy/32/18452_2.png) [@dmitriy](https://forum.defold.com/u/dmitriy)\
**Post date:** [April 3, 2019, 9:21am UTC](https://forum.defold.com/t/defold-1-2-150-has-been-released/47998/11 "2019-04-03T09:21:53Z")

</div>

My bad. Not this function(ToVector) crashes the app, but my code after it.  
Read: “…while the other just returns 0.”

---

<div class="post-metadata">

**Author:** ![gianmichele](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/gianmichele/32/24028_2.png) [@gianmichele](https://forum.defold.com/u/gianmichele)\
**Post date:** [April 3, 2019, 9:56am UTC](https://forum.defold.com/t/defold-1-2-150-has-been-released/47998/12 "2019-04-03T09:56:48Z")

</div>

The new simulator resolution preview is a real god send. Thanks a lot!!!

---

<div class="post-metadata">

**Author:** ![dmitriy](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/dmitriy/32/18452_2.png) [@dmitriy](https://forum.defold.com/u/dmitriy)\
**Post date:** [June 7, 2019, 8:58pm UTC](https://forum.defold.com/t/defold-1-2-150-has-been-released/47998/13 "2019-06-07T20:58:47Z")

</div>

> [@Mathias\_Westerdahl](#):
>
> Also, in order to support that, you now also have access to **Sony’s vectormath library**.

Still no documentation for that.

---

<div class="post-metadata">

**Author:** ![dapetcu21](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/dapetcu21/32/25120_2.png) [@dapetcu21](https://forum.defold.com/u/dapetcu21)\
**Post date:** [June 7, 2019, 9:55pm UTC](https://forum.defold.com/t/defold-1-2-150-has-been-released/47998/14 "2019-06-07T21:55:34Z")

</div>

I found this: [sce\_vectormath/doc/Vector\_Math\_Library-Overview.pdf at master · erwincoumans/sce\_vectormath · GitHub](https://github.com/erwincoumans/sce_vectormath/blob/master/doc/Vector_Math_Library-Overview.pdf)

---

<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:** [June 8, 2019, 7:57am UTC](https://forum.defold.com/t/defold-1-2-150-has-been-released/47998/15 "2019-06-08T07:57:10Z")

</div>

Added an issue (#4159) to make sure we add some documentation or at least a link to the official documentation.

---

<div class="post-metadata">

**Author:** ![Mathias\_Westerdahl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/mathias_westerdahl/32/228_2.png) [@Mathias\_Westerdahl](https://forum.defold.com/u/Mathias_Westerdahl)\
**Post date:** [June 8, 2019, 8:28am UTC](https://forum.defold.com/t/defold-1-2-150-has-been-released/47998/16 "2019-06-08T08:28:43Z")

</div>

Yes, I think we’re probably going to link to that exact [pdf](https://github.com/erwincoumans/sce_vectormath/blob/master/doc/Vector_Math_Library-Overview.pdf), since it’s quite a lot to document.  
And really, the code is the best documentation.

A quick way to get started is to include this file in your code:

```cpp
#include <dmsdk/vectormath/cpp/vectormath_aos.h>

```

And you can check this file for the implementation:  
`dmsdk/vectormath/scalar/cpp/vectormath_aos.h`
