# Defold 1.2.192 BETA

**URL:** <https://forum.defold.com/t/defold-1-2-192-beta/70199>\
**Category:** Release notes\
**Created:** [January 24, 2022, 10:21am UTC](https://forum.defold.com/t/defold-1-2-192-beta/70199 "2022-01-24T10:21:15Z")\
**Posts on this page:** 11\
**Page:** 1

<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 24, 2022, 10:21am UTC](https://forum.defold.com/t/defold-1-2-192-beta/70199/1 "2022-01-24T10:21:15Z")

</div>

# Defold 1.2.192 BETA

The latest beta is now released, and we invite those interested in beta testing the new features in the editor and engine to join now.  
The beta period will be 2 weeks and the next planned stable release is two weeks from now.

We hope this new workflow will highlight any issues earlier, and also get valuable feedback from our users. And please comment if you come up with ideas on improving on this new workflow.

Please report any engine issues in this thread or in [issues](https://github.com/defold/defold/issues) using Help → Report Issue

Thx for helping out!

## Disclaimer

This is a BETA release, and it might have issues that could potentially be disruptive for you and your teams workflow. Use with caution. Use of source control for your projects is strongly recommended.

## Access to the beta

Download the editor or bob.jar from [http://d.defold.com/beta/](http://d.defold.com/beta/)

Set your build server to [https://build-stage.defold.com](https://build-stage.defold.com)

# Engine

- [`Issue-3718`](https://github.com/defold/defold/issues/3718) - **Fixed** : Camera properties are available via `go.get()/set()` and `go.animate()`
- [`Issue-5591`](https://github.com/defold/defold/issues/5591) - **Fixed** : Add API hooks for logging
- [`Issue-6268`](https://github.com/defold/defold/issues/6268) - **Fixed** : Remove shared editor libraries
- [`Issue-6276`](https://github.com/defold/defold/issues/6276) - **Fixed** : Update iOS sdk
- [`Issue-6289`](https://github.com/defold/defold/issues/6289) - **Fixed** : Copy node flipbook animation when cloning
- [`Issue-6296`](https://github.com/defold/defold/issues/6296) - **Fixed** : Replace socket select() with poll()
- [`Issue-6301`](https://github.com/defold/defold/issues/6301) - **Fixed** : Rebuilt luajit for ios simulator
- [`Issue-6302`](https://github.com/defold/defold/issues/6302) - **Fixed** : Removed duplicate symbol for iOS in glfw library
- [`Issue-6306`](https://github.com/defold/defold/issues/6306) - **Fixed** : Use dmVMath instead of Vectormath::Aos
- [`Issue-6307`](https://github.com/defold/defold/issues/6307) - **Fixed** : Fix ANR: `SCREEN_OFF` when `android.app.NativeActivity.unloadNativeCode`
- [`Issue-6308`](https://github.com/defold/defold/issues/6308) - **Fixed** : Use unicode string for the window title on Windows
- [`Issue-6310`](https://github.com/defold/defold/issues/6310) - **Fixed** : Save generated manifest keys and load keys from project options if specified
- [`Issue-6313`](https://github.com/defold/defold/issues/6313) - **Fixed** : Update opening of OpenGL 3.1 compat mode window
- [`Issue-6317`](https://github.com/defold/defold/issues/6317) - **Fixed** : Custom iterator for properties in `label` component. Add `text` field.
- [`Issue-6318`](https://github.com/defold/defold/issues/6318) - **Fixed** : Fixed API ref for set\_maskbit() and updated examples
- [`Issue-6321`](https://github.com/defold/defold/issues/6321) - **Fixed** : Fix profiler scope in gui
- [`Issue-6326`](https://github.com/defold/defold/issues/6326) - **Fixed** : Ignore autobuilding for cubemaps
- [`Issue-6329`](https://github.com/defold/defold/issues/6329) - **Fixed** : Fix order of tilegrid physics setup
- [`Issue-6330`](https://github.com/defold/defold/issues/6330) - **Fixed** : Use 3 channels for DF font only if blur for shadow \> 0
- [`Issue-6331`](https://github.com/defold/defold/issues/6331) - **Fixed** : Fix for unicode window title not being null terminated
- [`Issue-6334`](https://github.com/defold/defold/issues/6334) - **Fixed** : Docs: Updated clang dependency link
- [`Issue-6342`](https://github.com/defold/defold/issues/6342) - **Fixed** : Create WebGL 1.0 context on iOS \< 15.2 (fix crash when game hangs on start).
- [`Issue-6333`](https://github.com/defold/defold/pull/6340) - **Fixed** : Crash in ParticleFX Assertion failed: size \<= Capacity()
- [`Issue-6351`](https://github.com/defold/defold/pull/6351) - **Fixed** : Patch reported system name for iPads running OS version 15+

# Editor

- [`Issue-6338`](https://github.com/defold/defold/issues/6338) - **Fixed** : Removed Sign iOS App menu option

---

<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:** [January 24, 2022, 5:12pm UTC](https://forum.defold.com/t/defold-1-2-192-beta/70199/2 "2022-01-24T17:12:42Z")

</div>

> [@britzl](#):
>
> [`Issue-6333`](https://github.com/defold/defold/pull/6340) - **Fixed** : Crash in ParticleFX Assertion failed: size \<= Capacity()

Beta updated with one more fix for: [1](https://forum.defold.com/t/html5-particlefx-buffer-set-to-1/70180) and [2](https://forum.defold.com/t/assertion-failed-size-capacity/70141)

---

<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:** [January 24, 2022, 7:30pm UTC](https://forum.defold.com/t/defold-1-2-192-beta/70199/3 "2022-01-24T19:30:23Z")

</div>

WOW! Great release. Thank you guys.

---

<div class="post-metadata">

**Author:** ![E1e5en](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/e1e5en/32/27601_2.png) [@E1e5en](https://forum.defold.com/u/E1e5en)\
**Post date:** [January 26, 2022, 9:23am UTC](https://forum.defold.com/t/defold-1-2-192-beta/70199/4 "2022-01-26T09:23:11Z")

</div>

Android Bundle cannot be built in beta: I get the error _Failed creating Android Application Bundle_. So with any project: examples, new ones.

 ![image](https://forum-defold.b-cdn.net/uploads/default/original/3X/2/f/2f6ec070cb06e24c83e7262edb6d3561e43b8bcf.png)

OS: Windows 11

---

<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:** [January 26, 2022, 12:46pm UTC](https://forum.defold.com/t/defold-1-2-192-beta/70199/5 "2022-01-26T12:46:10Z")

</div>

We found that it’s pretty often when our release notes aren’t so clear. We are going to improve it in the future, but now I decided to make a short explanation for every ticket in release notes.

> [@britzl](#):
>
> [`Issue-3718`](https://github.com/defold/defold/issues/3718) - **Fixed** : Camera properties are available via `go.get()/set()` and `go.animate()`

New properties were added for camera component: `fov`, `near_z`, `far_z`. Now it’s possible to animate these properties using `go.animate()` and get/set using `go.get` and `go.set`

> **[fov - API reference (Camera)](https://defold.com/ref/beta/camera/#fov)**
>
> Vertical field of view of the camera. The type of the property is float. | Defold is a free and open game engine used for development of console, desktop, mobile and web games.

> [@britzl](#):
>
> [`Issue-5591`](https://github.com/defold/defold/issues/5591) - **Fixed** : Add API hooks for logging

New API added in Defold SDK:

`dmLog::RegisterLogListener` - register a new listener for logs with will receive all the logs from the logging system (if it’s not filtered out by log severity level)  
`dmLog::UnregisterLogListener`- unregister a custom lisener  
`dmLog::Setlevel`- set log severity level

All the functions are avaliable in the release build.

[https://defold.com/ref/beta/dmLog/#dmLog::RegisterLogListener:listener](https://defold.com/ref/beta/dmLog/#dmLog::RegisterLogListener:listener)

> [@britzl](#):
>
> [`Issue-6268`](https://github.com/defold/defold/issues/6268) - **Fixed** : Remove shared editor libraries

The native libraries for all platforms were included in the editor bundle for each platform. Now CI removes unused libraries which reduces the editor build size by about 100Mb (~25%).

> [@britzl](#):
>
> [`Issue-6289`](https://github.com/defold/defold/issues/6289) - **Fixed** : Copy node flipbook animation when cloning

Now cloning of the node also copies flipbook animation state from the original node.

> [@britzl](#):
>
> [`Issue-6296`](https://github.com/defold/defold/issues/6296) - **Fixed** : Replace socket select() with poll()

File descriptorw (FD) are unique identifiers for a files or other input/output resource such as a socket connections.

When an application wishes to check if it is possible to read or write to a descriptor it can use either `select()` or `poll()`. The old / classic one is `select()` and a bit more modern is `poll()`.  
The biggest downside of using `select()` is a limitation for 1024 FD. If an app is using more than 1024 FD it will crash. It’s a really rare situation and in most cases using more than 1024 FD in a client app means an error in the client code. But in some rare cases, app may use too many FD by purpose, that’s why we decided to replace `select()` with `poll()`

> [@britzl](#):
>
> [`Issue-6301`](https://github.com/defold/defold/issues/6301) - **Fixed** : Rebuilt luajit for ios simulator

A while ago we updated LuaJit to the latest version for better support x64 platforms. This process needs a re-build of LuaJit for every platform/architecture combination. iOS sim was missed during this process. Now LuaJit has updated for iOS sim and this target platform works.

> [@britzl](#):
>
> [`Issue-6307`](https://github.com/defold/defold/issues/6307) - **Fixed** : Fix ANR: `SCREEN_OFF` when `android.app.NativeActivity.unloadNativeCode`

In some cases, the order of APP\_CMD\_\* events from Android OS may differ from the expected order.  
When a device is locked with an opened app and then the user tries to unlock it, in some rare cases the OS may create and destroy app 2 times without window initialization which causes the ANR.

> [@britzl](#):
>
> [`Issue-6308`](https://github.com/defold/defold/issues/6308) - **Fixed** : Use unicode string for the window title on Windows

Now it is possible to use unicode symbols as a window title on Windows. This means that cyrillic or hieroglyphic symbols will be displayed fine in the window title.

> [@britzl](#):
>
> [`Issue-6310`](https://github.com/defold/defold/issues/6310) - **Fixed** : Save generated manifest keys and load keys from project options if specified

The game manifest (game.dmanifest) is part of the Defold game archive format. It is included in an application bundle together with the actual archive data and index. The manifest contains cryptographic checksums of both the entire data set, as well as the individual files. The manifest file is mainly used for Live Update content on the platforms that support this feature.

The manifest is however still generated when bundling a game that doesn’t use Live Update. The cryptographic checksums are calculated using a temporary public and private key pair. New keys are generated for each build.  
This is generally not a problem, but it also means that it is not possible to generate two consecutive builds from the same content and with the same checksum.

This change makes it possible to specify a public and private key pair on the command line to repeatedly generate exactly the same bundle. With this change generated keys are also saved in the project root (manifest.private.der and manifest.public.der) and automatically reused for subsequent builds if no key pair is provided.

More information about the archive format here: [defold/engine/docs/ARCHIVE\_FORMAT.md at dev · defold/defold · GitHub](https://github.com/defold/defold/blob/dev/engine/docs/ARCHIVE_FORMAT.md)

> [@britzl](#):
>
> [`Issue-6313`](https://github.com/defold/defold/issues/6313) - **Fixed** : Update opening of OpenGL 3.1 compat mode window

Fixes issue with crash on start on Intel HD 2000/3000 and some other older GPUs

> [@britzl](#):
>
> [`Issue-6317`](https://github.com/defold/defold/issues/6317) - **Fixed** : Custom iterator for properties in `label` component. Add `text` field.

It’s possible to get access to the game hierarchy and components data using Defold SDK. The functionality is used in [extension-poco](https://github.com/defold/extension-poco). This fix adds access to the label’s fields such as `text`.

> [@britzl](#):
>
> [`Issue-6318`](https://github.com/defold/defold/issues/6318) - **Fixed** : Fixed API ref for set\_maskbit() and updated examples

Documentation fixes.

> [@britzl](#):
>
> [`Issue-6321`](https://github.com/defold/defold/issues/6321) - **Fixed** : Fix profiler scope in gui

Fixes typo in `gui` component when all the component functions were shown in profiler as `on_message` function.

> [@britzl](#):
>
> [`Issue-6326`](https://github.com/defold/defold/issues/6326) - **Fixed** : Ignore autobuilding for cubemaps

Fixed issue with cubemap building during the bundling process.

> [@britzl](#):
>
> [`Issue-6329`](https://github.com/defold/defold/issues/6329) - **Fixed** : Fix order of tilegrid physics setup

Fixes issue when changes in `init()` function for a factory created tilemap were overridden by the initial state of the tilemap.

> [@britzl](#):
>
> [`Issue-6330`](https://github.com/defold/defold/issues/6330) - **Fixed** : Use 3 channels for DF font only if blur for shadow \> 0

Distance Field (DF) fonts now use 3 layers only if a font shadow blur is more than 0. In all the other cases it uses one layer. That reduces DF fonts size significantly.

> [@britzl](#):
>
> [`Issue-6342`](https://github.com/defold/defold/issues/6342) - **Fixed** : Create WebGL 1.0 context on iOS \< 15.2 (fix crash when game hangs on start).

WebGL 2.0 turned on by default starting iOS 15.  
However, it seems like it crashes from time to time on iOS 15.0.x and doesn’t work at all on iOS 15.1.x (black screen on initialization). At the same time, iOS 15.2 works just fine.

This fix forces using of WebGL 1.0 for iOS 15.0.x - 15.1.x.

> [@britzl](#):
>
> [`Issue-6333`](https://github.com/defold/defold/pull/6340) - **Fixed** : Crash in ParticleFX Assertion failed: size \<= Capacity()

Fixes issues with crashes and unexpected errors with particles in cases where particles are created in a collection without any factory with particlefx component.

For particlefx component, the component itself isn’t a render object. The emitters are render objects. That means the recalculated value can’t be used as a buffer size for the particlefx render objects buffer. But now it’s possible to specify max number of emitters per collection in `game.project` → `particle_fx.max_emitter_count`.

* * *

Please, let us know if such information is useful for you and we should explain changes a bit more than we used to.

---

<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 26, 2022, 12:58pm UTC](https://forum.defold.com/t/defold-1-2-192-beta/70199/6 "2022-01-26T12:58:32Z")

</div>

> [@E1e5en](#):
>
> Android Bundle cannot be built in beta: I get the error _Failed creating Android Application Bundle_

We’ve fixed the issue and a new beta version should be available in about 30 minutes.

---

<div class="post-metadata">

**Author:** ![Insality](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/insality/32/39737_2.png) [@Insality](https://forum.defold.com/u/Insality)\
**Post date:** [January 26, 2022, 12:59pm UTC](https://forum.defold.com/t/defold-1-2-192-beta/70199/7 "2022-01-26T12:59:44Z")

</div>

> [@AGulev](#):
>
> Please, let us know if such information is useful for you and we should explain changes a bit more than we used to.

It is! The things you explained is much more useful to understand the changelog. Earlier I went to PR’s to see concrete changes 🙂

---

<div class="post-metadata">

**Author:** ![MasterMind](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/mastermind/32/31839_2.png) [@MasterMind](https://forum.defold.com/u/MasterMind)\
**Post date:** [January 26, 2022, 1:37pm UTC](https://forum.defold.com/t/defold-1-2-192-beta/70199/8 "2022-01-26T13:37:11Z")

</div>

Thank you for the detailed explanation. Very helpful.

---

<div class="post-metadata">

**Author:** ![E1e5en](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/e1e5en/32/27601_2.png) [@E1e5en](https://forum.defold.com/u/E1e5en)\
**Post date:** [January 26, 2022, 3:15pm UTC](https://forum.defold.com/t/defold-1-2-192-beta/70199/9 "2022-01-26T15:15:42Z")

</div>

> We’ve fixed the issue and a new beta version should be available in about 30 minutes.

Thank you. Everything works =)

---

<div class="post-metadata">

**Author:** ![E1e5en](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/e1e5en/32/27601_2.png) [@E1e5en](https://forum.defold.com/u/E1e5en)\
**Post date:** [January 26, 2022, 3:19pm UTC](https://forum.defold.com/t/defold-1-2-192-beta/70199/10 "2022-01-26T15:19:41Z")

</div>

> [@AGulev](#):
>
> Please, let us know if such information is useful for you and we should explain changes a bit more than we used to.

Thank you. Very helpful and convenient. 👍

---

<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 28, 2022, 3:19pm UTC](https://forum.defold.com/t/defold-1-2-192-beta/70199/11 "2022-01-28T15:19:14Z")

</div>

> [@britzl](#):
>
> [`Issue-6351`](https://github.com/defold/defold/pull/6351) - **Fixed** : Patch reported system name for iPads running OS version 15+

We’ve included a fix for the reported `system_name` in `sys.get_sys_info()` for iPads running iOS 15+. These devices reported “iPadOS” as system name. The `system_name` field will once again report “iPhone OS” for all iOS devices (phones and tablets regardless of iOS version).

Note: The purpose of the `system_name` field is to provide a simple way of figuring out which platform your game is running on and as such it must return consistent results.
