Defold 1.2.169 has been released

#1

Defold 1.2.169

This sprint we’ve fixed various smaller issues and requests.

Another feature we’ve added is the sound.pause() function, which many users have requested.

We also fixed an issue where a collection proxy was being rendered the same frame it was loaded, before it actually got its first update.
Similarly, when unloading a collection proxy, it is now also delayed until the beginning of the next frame.

Mesh Component

We have added support for a new component type, the mesh component.

Engine

  • 3410 - Added: Mesh component
  • 4773 - Added: Added sound.pause function
  • 4725 - Fixed: Fix for getting sound properties before playing sounds
  • 4697 - Fixed: Fixed issue with calculating the font cache cell size
  • 4586 - Fixed: Make sure collection proxies get an update before rendering
  • 4778 - Fixed: The tilemap does not flip tiles when created
  • 3721 - Fixed: Ignore arrow keys as text events
  • 4758 - Fixed: Generate character/text event for spacebar
  • 4719 - Fixed: IE 11 compatibility (sounds and gamepads)
  • 4742 - Fixed: Configure CFBundleDevelopmentRegion and CFBundleLocalizations in game.project
  • 4747 - Fixed: Check that there’s a world before creating a collision object
  • 4727 - Fixed: Potential fix for writing save file that on rare occasions became corrupt
  • 4715 - Fixed: Updated android build tools to 29.0.3
  • 3712 - Fixed: Box2D crashes when setting a rotation with NaN (DEF-3177)

Editor

  • 4753 - Added: Added native extension template to editor
  • 4755 - Fixed: DEFEDIT-4754 Crash when signing mobile dev app for iOS
27 Likes

Monarch, Rendercam, and GUI Problems
pinned globally #2
0 Likes

#3

on OSX not work Right mouse click anywhere

0 Likes

#4

The “fix” was reverted earlier today: Right Click not working in Defold Editor

Is it still not working for you?

0 Likes

#5

sorry, i just download it from defold.com , and it was 1.2.168 … but in 1.2.169 it looks work now… thanks

1 Like

#6

Fixed: Source used to be closed. Now defaults to free.

8 Likes

#7

On 169 Defold my CI is broken with headless mode

On 168 debug and headless - ok
on 169 debug - ok, headless - failed

Logs (any extensions I use, not only uptime):

Error in resource: uptime/src/UpTime.cpp
Exception in thread "main" com.dynamo.bob.MultipleCompileException: Build error
	at com.dynamo.bob.bundle.BundleHelper.buildEngineRemote(BundleHelper.java:1085)
	at com.dynamo.bob.Project.buildEngine(Project.java:716)
	at com.dynamo.bob.Project.doBuild(Project.java:837)
	at com.dynamo.bob.Project.build(Project.java:443)
	at com.dynamo.bob.Bob.main(Bob.java:573)
Caused by: com.defold.extender.client.ExtenderClientException: Failed to build source.
	at com.defold.extender.client.ExtenderClient.build(ExtenderClient.java:190)
	at com.dynamo.bob.bundle.BundleHelper.buildEngineRemote(BundleHelper.java:1070)
	... 4 more
1 Like

#8

Thanks!
I’ll take a look!

1 Like

#9

The 1.2.169 version broke the headless variant, as @Insality reported.
The current workaround is to exclude the new symbol from the build in the app manifest, like so:

platforms:
    x86_64-osx:
        context:
            excludeSymbols: ["GraphicsAdapterOpenGL"]

    x86_64-linux:
        context:
            excludeSymbols: ["GraphicsAdapterOpenGL"]

    js-web:
        context:
            excludeSymbols: ["GraphicsAdapterOpenGL"]

    wasm-web:
        context:
            excludeSymbols: ["GraphicsAdapterOpenGL"]

    x86-win32:
        context:
            excludeSymbols: ["GraphicsAdapterOpenGL"]

    x86_64-win32:
        context:
            excludeSymbols: ["GraphicsAdapterOpenGL"]

    armv7-android:
        context:
            excludeSymbols: ["GraphicsAdapterOpenGL"]

    arm64-android:
        context:
            excludeSymbols: ["GraphicsAdapterOpenGL"]

    armv7-ios:
        context:
            excludeSymbols: ["GraphicsAdapterOpenGL"]

    arm64-ios:
        context:
            excludeSymbols: ["GraphicsAdapterOpenGL"]

    x86_64-ios:
        context:
            excludeSymbols: ["GraphicsAdapterOpenGL"]

The proper fix will be in 1.2.170.

4 Likes