Fixes and API Deprecations - Lumberyard Release Notes

Fixes and API Deprecations

Lumberyard Beta 1.25 resolves earlier customer issues, and updates supported versions for libraries, APIs, and tools. Choose a topic area to learn more about the related fixes.

Bug Fixes

Animation Editor (EMFX)

  • Fixed an issue in the BlendN node that could cause playback speeds to explode when motions were synced.

  • Fixed a crash in the Animation Editor when deleting motions.

  • Fixed a false error that got triggered in debug mode.

  • Changed names of columns in the motion list of motion and motion set windows to be more artist friendly.

  • Fixed the Save button in the motion window which saved all motions, rather than motions marked as dirty.

  • Entity scale on entities with Actor Components is now supported. We advise to stick to only uniform scale. Per joint scaling is not yet officially supported, so we cannot guarantee correct behavior there yet.

  • The MotionInstance class has gone through an initial refactor and automated tests have been added. All time updates now go through a centralized mechanism, avoiding duplicate code and slightly different behaviors.

  • A motion is now marked as having looped when it finished a full play cycle. If the motion is not looping, the number of loops is set to 1 when it reaches its last frame.

  • Updated some value widget step sizes inside some animation-related Fbx modifiers. Also show more decimals where appropriate. Also introduced a scale optimization setting in the motion compression modifier.

  • Fixed a bug in the time view plug-in which caused it to draw every frame. Performance should improve as a result of this fix.

  • Fixed a crash bug where some pointer could be a nullptr inside the BlendN when it had no inputs.

  • Fixed a bug which caused a crash when deleting connections (specifically, the pose connections) from the BlendN node inputs.

  • Fixed a crash when you deleted a motion set after the motion window got closed.

  • When you press the Evenly Distribute button in the BlendN node, while all weights are the same, it will calculate the distribution between 0 and 1 instead of doing nothing.

  • Fixed an issue where the Motion Set window would not refresh when loading a new workspace.

  • Fixed an issue in the Vector3 parameter gizmo, which could display itself at the wrong location.

  • Fixed an issue where the event filter mode combobox had no event filter mode selected when creating blend space nodes.

  • Fixed an issue where renaming a group that contains parameters of the active graph crashes the Editor.

Asset Builder

  • When an asset builder outputs an asset without listing product dependencies or marking it as having no dependencies a warning message is printed with options for customers to resolve it. This helps customers keep their dependency graph complete when they add new assets types.

Asset Processor

  • Fixed an issue with Asset Manager when using asynchronous loading requests.

  • Fixed a recurring crash during Asset Processor shutdown.

Asset System

  • Fixed thread safety issue with AssetTracking system.

Cloud Canvas

  • Fixed importing file assets into CloudCanvas resources group.

GameLift Gem

  • Updated BuildGameLiftServer.bat script to support Visual Studio 2019.

Installer

  • We fixed an issue preventing project setup when using Visual Studio 2019 with the 16.6 update.

  • We fixed a silent crash when accessing the advanced project settings without P4V installed.

  • We fixed an Asset Processor crash during project setup.

Particle Editor

  • If a user selects a FBX from their model repository and there is a PhysX collider available the “.cgf” is now properly selected by the Particle Editor.

Physics (PhysX)

  • Fixed a crash when physics assets with multiple material names are loaded in a level.

  • Fixed a bug where invalid, 'not a number' (NaN), impulse values can be applied.

  • Fixed a bug where invalid, 'not a number' (NaN), impulse values can crash the editor.

  • Fixed an error where (FBX) assets with no physics material assigned fail to generate physical meshes. Default material is assigned to assets with no physics material assigned.

  • Fixed an issue where the quantization of the PhysX heightfield reduces its accuracy for scene queries compared to CryPhysics.

  • Fixed an issue where getting and setting the pose of shapes (colliders), and ray casts are not protected for multi-threaded scene queries.

  • Fixed an issue where the resize function of the Character Controller does not result in the correct PhysX character controller dimensions. The bug was due to different interpretations of capsule and box dimensions in PhysX and Lumberyard.

  • Fixed an issue where a PhysX character controller component on an entity would log excessive errors when physics was disabled on that entity.

  • Fixed an issue where a large performance drop occurred when Actor and PhysX Shape Collider components are added to an entity.

  • Fixed an issue where PhysX Terrain assets created in Lumberyard 1.24 level do not work correctly in a level created with Lumberyard 1.25.

  • Fixed an issue where terrain scale is calculated incorrectly, resulting in terrain geometry no longer returning the correct height. It now returns the correct height.

Sample Projects

  • Updated Rin and Jack’s SamplesProjects anim graph by removing legacy Blend2 nodes, making some spot fixes, and reducing animation hierarchy depth.

  • Fixed an issue where the SinglePlayer level crashes after saving it.

Script Canvas

Lots of fixes for Script Canvas in Lumberyard 1.25!

  • ScriptEvent Disconnect no longer disconnects all instances, only the desired one.

  • The "Remember Open Canvases" option no longer resets the Script Canvas editor layout.

  • Adding value to one of the Math Expression node inputs after resetting its value no longer crashes the Editor.

  • Renaming a Print node’s input while connecting it to an output no longer crashes the Editor.

  • Setting the Math Expression Inputs to the same name while having them connected to the Add node no longer crashes the Editor.

  • Modulo division by 0 in Math Expression Node no longer crashes the Editor.

  • Undoing deletion of String Property value of the Print node no longer crashes the Editor.

  • Using the Open in Script Canvas Editor button sets focus to the desired graph.

  • Fixed case that allowed non-editable numeric fields to be edited if the node lost focus.

  • Double clicking a node in the Node Palette highlights the node in the graph.

  • "Reset Reference" works correctly for all variable types.

  • The "Hide Unused Slots" option is no longer available when it cannot be used.

  • Using the "Hide Unused Slots" option no longer affects visible slot context menus.

  • Undoing the reconnection to the pin after renaming it no longer results in a crash.

  • Restricted the file types the Script Canvas editor can open to valid asset types.

  • Improved EntityId node naming when an entity is dragged onto a Script Canvas to avoid naming collisions.

  • Cancelling a Save As operation no longer emits an error on the console.

  • Fixed Undo/Redo operations from potentially getting out of sync.

  • Added Reset Property to node property context menu.

  • Fixed a potential crash when using the EntityId picker.

  • Fixed crash when undoing removal of the Print node’s String property.

  • Fixed case that created a disabled context menu when invoked from an incomplete connection.

  • Fixed invalid options on scene proposal context menu that could lead to a crash.

  • Dragging the Input EntityID Pin to the "Pick an object in the viewport" Icon while holding alt no longer crashes the Editor.

  • Variables copied from another graph no longer cause the save option to be disabled in the right-click context menu.

  • Attempting to save a corrupted graph no longer crashes the Editor.

  • Undoing deletion of String property value of the Print node no longer crashes the Editor.

  • "Open in Script Canvas" button opens the correct Graph after the Clear Asset operation has been undone.

  • Fixed a potential crash when hot reloading values.

  • Fix for multi-open files not working.

  • Fixed Variable References holding onto reference to deleted slot.

  • Fixed issue with undo destroying groups and other visual elements.

  • Execution Nodes can no longer have Connections from both Output and Input Pins at the same time, which was previously allowed by "Exposing" leading to an editor crash upon entering game mode.

  • When searching (filtering) a Node Palette, substrings are now highlighted accurately whereas before there would sometimes be incorrect highlighting of additional characters beyond the length of the substring.

  • Overwriting a Graph open in Script Canvas with a newly created Graph no longer crashes the Editor.

  • The Lua Editor dialogs styles are now consistent.

  • Fixed unwanted node movement while resizing due to input changes.

  • No longer allow removal of output pin on an Any node.

  • Removing a parameter which has a Variable Reference in a Script Canvas Graph no longer crashes the editor when attempting to edit the reference.

  • Script Event node connections are disconnected if the type changed to prevent invalid connections.

  • Removing argument from Math Expression node no longer leaves an unused math symbol.

  • Fix for focus lost not cancelling connection proposal.

  • Fix for nudges not taking moved nodes into account when moving other nodes.

  • Closing the Script Canvas editor closes open graphs in order.

  • Fixed connecting to a disabled node not disabling the newly connected node.

  • Saving a Graph with an Entity ID Output pin connected to any Input pin no longer causes a crash after reconnecting these nodes and attempting to move the connection.

  • Fixed crash when pressing Undo during multiple coupling action with nodes.

  • The logging window graph table is now resizable.

  • Renaming a Print node input to an already existing one no longer crashes.

  • Fix for potentially orphaned toast notifications when using undo.

  • No longer able to connect to hidden slots.

  • Fixed graph validation search queries to return correct results.

  • Moved "Reset To Default" to View menu.

  • Fixed groups showing up as black in the bookmark mode.

  • Duplicating or copying the nodes via keyboard shortcuts highlights the created node correctly.

  • Fixed script net binding issue that could lead to a crash due to double deletion.

  • Improved Script Event node updating when the underlying Script Event asset changes.

  • Disabled auto-repeat option of many tools that could lead to a crash.

  • Limited the maximum size of a screenshot capture to avoid a crash due to very large memory requirements.

  • Fix for resizing names not adjusting node sizes.

  • Added size limit to variable names.

  • Fixed Script Event Disconnect option.

  • Fix for Lerp Between Maximum Duration of 0 not overriding speed duration.

  • The Contains String node's Index slot is now a numeric value.

  • Fixed double spaces in Source slot’s tooltips.

  • Fixed main menu enabled states — sometimes the Graph Preferences option was incorrectly disabled.

  • Changing a Script Event's Address Type no longer adds a new slot to an existing wrapper node.

  • Added tooltip to Validate Graph button.

  • Fixed default value for the Apply Effect Group At Position node.

  • Changing the return value type of the Script Event no longer adds another value type to nodes.

  • Fix for auto assignment not isolating to a single component.

  • Debugging log is cleared between sessions.

  • Improvements to handling deleted Script Events in Script Canvas graphs.

  • Fixed Shake To Desplice undo operation.

  • Corrected tooltips for the Length node from the Math Category.

  • Fixed issue with "Remember Open Canvases" creating an empty tab.

  • Renamed "Zoom to Selection" to "Show Selection".

  • Added validation to the Lerp Between node to detect invalid values.

  • Preset actions now have a maximum size.

  • Fixed graph validation notifications not showing up on newly created graphs.

  • Removed unnecessary Print nodes from ScriptCanvas_Basic_Sample.

  • Added validation when using container nodes without providing a Source container (for example, "Insert" or "Add Element at End").

  • Fixed situation in which auto connection of wrapped nodes (such as event nodes) could leave a stray connection behind.

  • Improved debugger performance and memory usage to prevent editor stalls.

  • Fixed the Script Canvas and Script Event recent file lists.

  • Fixed issue that could lead to a non-editable graph if the same graph was reopened.

  • Debugger: synchronized the selected graph between Entity and Graph.

  • Fixed naming of Particle nodes.

  • Improved the behavior of the Entity Outliner context menu.

  • Added Cancel option to Batch Operation.

  • Fixed typo in Random Vector2.

  • Fixed potentially losing the undo cache after saving a graph.

  • Added Random Point in Arc and Random Point in Wedge.

  • Improved naming for existing tools and removed unused tools.

Other Script Canvas fixes:
  • Corrected tooltips for the Length node from the Math Category.

  • When searching (filtering) a Node Palette, substrings are now highlighted accurately whereas before there would sometimes be incorrect highlighting of additional characters beyond the length of the substring.

Slices

  • Fixed an issue preventing the reparenting of entities within the same slice.

Terrain

  • Fixed an issue where closing the Generate Terrain Texture window disables the abilities to create a new level, to save the current one, to export level to engine and to enter Game Mode. You can now close the Generate Terrain Texture window without any loss of this functionality.

  • Fixed an issue where closing out of the Generate Terrain Texture window on new level creation results in terrain texture errors and disables several menu options. You can now close the Generate Terrain Texture window without these errors occurring.

Deprecated APIs

The following APIs have been deprecated in Lumberyard Beta v1.25:

  • PhysX::ColliderComponentEventBus has been deprecated with Lumberyard 1.25. Going forward, please use Physics::ColliderComponentEventBus.

  • DHQSpinBox has been deprecated with Lumberyard 1.25. Going forward, please use AzQtComponents::SpinBox.

  • DHQDoubleSpinBox has been deprecated with Lumberyard 1.25. Going forward, please use AzQtComponents::DoubleSpinBox.

  • DHPropertyIntSlider has been deprecated with Lumberyard 1.25. Going forward, please use AzQtComponents::SliderCombo.

  • HPropertyDoubleSlider has been deprecated with Lumberyard 1.25. Going forward, please use AzQtComponents::SliderDoubleCombo.

  • Important: AzToolsFramework::VectorElement has been removed with Lumberyard 1.25. Please update your code to use AzQtComponents::VectorElement.

  • PlanarManipulator::SetView has been deprecated with Lumberyard 1.25. Going forward, please use PlanarManipulator::SetViews (plural). This change was made to be consistent with LinearManipulator::SetViews.

  • SliceUtilites::ReparentNonTrivialEntityHierarchy has been deprecated with Lumberyard 1.25. Going forward, please use ReparentNonTrivialSliceInstanceHierarchy.