Dev snapshot: Godot 3.5 beta 4
By: Rémi Verschelde 15 April 2022
We're getting closer to the Godot 3.5 stable release with a fourth beta snapshot! Like with 4.0 alpha builds, we're trying to release 3.5 beta builds every other week to ensure that new features can be tested, bugs can be reported and bugfixes can be validated.
This beta 4 is a small update with just 83 commits excluding merges, focusing on fixing bugs to stabilize the current feature set for 3.5 stable.
The previous beta 3 introduced a brand new Android editor port! In this build, we also built it for 32-bit platforms (armv7 and x86) as there was some demand for it, so you'll find the APK is a bit heavier.
As usual, you can try it live with the online version of the Godot editor updated for this release.
The main changes coming in Godot 3.5 and included in this beta are:
Asynchronous shader compilation + caching (ubershader) (GH-53411)
A long awaited solution to shader compilation stuttering on OpenGL, courtesy Pedro J. Estébanez (RandomShaper)!
This new system uses an "ubershader" (big shader supporting all features, slow but compiled on startup) to fill in for all shaders initially while the more efficient and material-specific shaders get compiled asynchronously, and cached for future runs.
This means that on the first run materials may look a bit different for a second or two, but there should no longer be compilation lags. Please test this thoroughly and let us know how it performs on your projects.
Add NavigationServer with obstacle avoidance using RVO2 (GH-48395)
This adds support for obstacle avoidance using the RVO2 library, and navigation meshes can now be baked at runtime.
The backport was done while attempting to preserve API compatibility within reason, but the underlying behavior will change, mainly to provide a lot more features and flexibility. We expect that all users will happily move to the new NavigationServer, but please report issues if you see behavior changes for the worse when upgrading from 3.4.
Physics interpolation (3D) (GH-52846)
In Godot, while physics runs at a fixed tick rate, frames can actually display at a wide variety of frame rates, depending on the player's hardware. This can lead to a problem, when the movement of objects (which tends to occur on physics ticks) does not line up with the rendered frames, giving unsightly jitter.
Thanks to lawnjelly's expertise, you will now find a sweet new option hidden in the project settings. Switch on
physics/common/physics_interpolation, and Godot will now automatically interpolate objects on rendered frames so they look super smooth.
In order to benefit you should be moving your objects and running your game logic in
_physics_process(). This ensures your game will run the same on all machines. Full details are available in preliminary docs.
Fixed timestep interpolation is 3D only for now, but watch this space as we plan to add 2D support after initial feedback and bugfixing on the 3D version.
OccluderShapePolygon (3D) (GH-57361)
Following on from the addition of OccluderShapeSphere in 3.4, lawnjelly now brings us a more adaptable and easy way to add basic occlusion culling in the form of the OccluderShapePolygon. Add an Occluder node to your scene, and choose to create an OccluderShapePolygon. This should show up initially as a quad.
You can move the polygon with the node transform, drag the corners to reshape it, add delete points. Anything behind the polygon will be culled from view.
It is really as simple as that to get started, place them wherever you like in your game level. Read the preliminary docs for details.
Android editor port (GH-57747)
Two years ago (!), thebestnom started working on an Android port of the Godot editor (GH-36776). Since the Godot editor is built with Godot itself, it wasn't too difficult to imagine compiling the editor for Android with some buildsystem changes. But a lot of work was needed to actually make this compiled version work decently on an Android device, with improved mouse and keyboard support, better touch input, as well as being able to run the project on top of the editor like on desktop.
With a lot of testing from interested users, things progressed slowly but steadily, and our Android maintainer Fredia Huya-Kouadio (m4gr3d) put the finishing touches to get this work merged for Godot 3.5 (GH-57747). The current version doesn't have a lot of mobile specific changes, so it's only really usable on a tablet with keyboard and mouse - but the foundation is there to improve upon, and we're interested in your feedback and ideas son how to make the Godot experience more mobile friendly!
From now on you'll find builds of the Android editor as
<godot_version>_android_editor.apk in the download repository. Note that builds are currently not signed, so you will get a warning on install. Give it a try!
With helpful input from contributors Dan Edwards (Gromph) and Péter Magyar (Relintai), Fredia was also able to fix the low processor usage mode on Android (GH-59606), which the editor port uses. It should now work fine for users who make non-game applications or non real-time games on Android and want to preserve battery life.
Add push, pull, fetch and improved diff view to VCS UI (GH-53900)
What is it? A lot of new features for Version Control Systems (VCS) integration in the Godot editor, such as push, pull, and fetch operations, as well as a very nice diff view UI. All these features have been implemented in the official Git integration plugin. Check out the Releases page for the latest 2.x plugin release supporting Godot 3.5 beta.
- Android: Initial port of the Godot editor (GH-57747).
- Android: Fix flickering issues with low processor mode (GH-59606).
- Android: Update editor default display scale, allow resizing windows (GH-59868, GH-59861, GH-59880).
- Animation: Add option to paste animation as duplicate (GH-60226).
- Audio: Allow configuring loop mode on WAV import (GH-59170).
- Audio: Instance audio streams before
- Audio: Fix crash in AudioServer when switching audio devices with different audio channels count (GH-59778).
- C#: Fix Android AAB export failing to load native libs (GH-57420).
- Core: Add GradientTexture2D (GH-54824).
- Core: Allow pinning property values + Consistent property defaults (GH-52943).
- Core: Support deep comparison of Array and Dictionary (GH-42625).
- Core: Add visibility to CanvasLayer (GH-57900).
- Core: Add a signal to notify when children nodes enter or exit tree (GH-57541).
- Editor: Improve ColorPicker presets (GH-54439).
- Editor: Add option to only redraw vital updates (GH-53463).
- Editor: Improved region-select in the 3D editor viewport (GH-58252).
- Editor: Make property paths and categories translatable (GH-58634).
- Editor: Add property name style toggle to Inspector (GH-59313).
- GDScript: Fix variable type inference on release (GH-57851).
- GDScript: Don't coerce default values to the export hint type (GH-58686).
- GDScript: Enable method type information on release builds (GH-59793).
- GUI: Add FlowContainer (GH-57960).
- GUI: Add alignment options to Button icons (GH-57771).
- GUI: Add type variations to Theme (GH-57942).
- GUI: Add WOFF2 font support and brotli decoder (GH-59522).
- Input: Allow for mapping scancodes to current layout (GH-56015).
- Internationalization: Add binary MO translation file support (GH-59522).
- Linux: Fix
window_maximizednot working reliably (GH-59767).
- macOS: Implements ad-hoc signing from Linux/Windows (GH-51550).
- Networking: Add proxy support for HTTPClient and the editor (GH-55988).
- Physics: Add fixed timestep interpolation for 3D (GH-52846).
- The 2D equivalent will be added later on.
- Rendering: Add
material_overlayproperty to MeshInstance (GH-50823).
- Rendering: Faster editor line drawing - Path2D and
- Rendering: Add OccluderShapePolygon (GH-57361).
- Rendering: Add support for saving multiple Images in BakedLightmap (GH-58102).
- Rendering: Bind mesh merging functionality in MeshInstance (GH-57661).
- Shaders: Many improvements backported from
- VisualShader: Add hints and default values to the uniform nodes (GH-56466).
- Windows: Improve console handling and
- This changes the editor console handling to be like on Unix systems (Linux and macOS). So Godot doesn't open with a console by default, but you can see console output if you start it from a console yourself. You can create a batch script or shortcut to automatically start Godot from a console as in previous releases.
- Windows: Implement limited surrogate pairs support (better UTF-8 support, emoji fonts) (GH-54625).
All these need to be thoroughly tested to ensure that they work as intended in the upcoming 3.5-stable.
There's no curated changelog just yet, I still have to skim through all commits to select the changelog worthy changes.
You can also review the changes between beta 3 and beta 4.
This release is built from commit b6968ab06.
The downloads for this dev snapshot can be found directly on our repository:
- Standard build (GDScript, GDNative, VisualScript).
- Mono build (C# support + all the above). You need to have dotnet CLI or MSBuild installed to use the Mono build. Relevant parts of Mono 220.127.116.11 are included in this build.
- The Windows builds are signed, but the certificate expired recently. The next builds should be signed with a new certificate.
As a tester, you are encouraged to open bug reports if you experience issues with this beta. Please check first the existing issues on GitHub, using the search function with relevant keywords, to ensure that the bug you experience is not known already.
In particular, any change that would cause a regression in your projects is very important to report (e.g. if something that worked fine in 3.4.x no longer works in this 3.5 beta).
Godot is a non-profit, open source game engine developed by hundreds of contributors on their free time, and a handful of part or full-time developers, hired thanks to donations from the Godot community. A big thankyou to everyone who has contributed their time or financial support to the project!