This release focuses on addressing issues reported by the community - thanks to all for the bug reports!
This time around, most of the new features have been mainly coming from additions to the expanding Downloads page. A few recent of note include:
- Cinemachine integration
- Mobile joystick template
- Graphic options template
- Input system integration (now updated with remapping options)
As for v1.76 itself:
Upgrade notes
- The OnCraftingSucceed custom event now takes an additional InvInstance parameter that represents the resulting item
- Giving an item to an NPC with no interaction will run the item's unhandled 'Give to NPC' interaction, not 'Use on Hotspot'
- The "Disable Hotspots while dragging Player?" option has been removed
Menus
- Added: Function to MenuSavesList that returns the SaveFile associated with a given slot
- Added: OnHideSelectedElement custom event - called whenever a UI Button is hidden and it is the EventSystem's currently-selected GameObject
- Added: Option to control Unity UI-based Menu transitions with a Float parameter
- Changed: The "Transition type" Menu property's "Custom Animation" value has been renamed to "Custom Animation States"
- Fixed: Menus sometimes becoming uninteractable when opened via ActionList
- Fixed: Hover sounds for Unity UI Menu elements playing when the Menu is turned on
Movement
- Added: "Minimum distance" option to the "Character: Move to point" Action when "Wait until finish?" is checked
- Added: Ability to override the PlayerInput's "drag state" calculation through script
- Fixed: "Run input threshold" field automatically used to control Player running when relying on custom Touch Screen input
- Fixed: "Character: NPC follow" Action not accounting for the "Minimum distance" field correctly
- Fixed: Issues with the NPC component's "Keep out of Player's way?" option
ActionLists
- Added: Actions generated through script now record the Constant ID values of referenced GameObjects
- Added: "Copy From Component Variable" option to the "ActionList: Set parameter" Action
- Fixed: ActionList "PopUp" parameters not having a "Default value" field in the Editor
- Fixed: PopUp parameters not being usable when comparing PopUp variables with the "Variable: Check" Action
Inventory
- Added: Ability to assign a per-Item unhandled Inventory interactions when giving an item to an NPC
- Changed: The OnCraftingSucceed custom event now takes an additional InvInstance parameter that represents the resulting item
- Changed: Giving an item to an NPC with no interaction will run the item's unhandled 'Give to NPC' interaction, not 'Use on Hotspot'
- Fixed: Inventory item slots merging not accounting for differences in property values
- Fixed: The OnCraftingSucceed custom event firing multiple times
Speech
- Added: The "Filename" fields of speech lines listed in the Speech Manager are now selectable
- Fixed: Conversation Inspectors not respecting the "Items before scrolling" Editor preferences option when listing dialogue options
- Fixed: Speech lines separated by carriage-returns in "Dialogue: Play speech" Actions not playing Addressable audio
- Fixed: Error when playing Addressable speech lines and the associated speech line cannot be found
2D
- Fixed: GameCamera2D positioning issues if a background constraint is applied but only in one direction
- Fixed: Follow Tint Map component's "Affect children too?" option not affecting Sprite Renderers that are disabled at startup
- Fixed: "Remember NPC" component affecting Transform rotation values even if "Turn root object in 3D?" is unchecked
- Fixed: Sorting issue when two 2D characters appear in the same Sorting Map region
Misc
- Added: Alternatives to the "Object: Transform" Action's CreateNew function to generate through script
- The "Disable Hotspots while dragging Player?" option has been removed
- Fixed: Hierarchy icons not showing when editing in Prefab Mode
- Fixed: Various issues with the "Scene: Check attribute" Action
- Fixed: Memory leaks when using the "Object: Add or remove" Action to add or remove Addressable GameObjects
- Fixed: Animation playback issues with the "Character: Animate" and "Object: Animate" Actions' "Play Custom" option
- Fixed: Error when attempting to set a Global variable's value through script while in a non-AC scene
As always, please be sure to backup your projects before upgrading!
Comments
Thank you so much for your hard work, Chris! Also glad to see graphic options template.
Thank you very much! I have a question: is there going to be a new integration with the Opsive UCC newest, 2.2 version which was recently released?
@hollycacao If necessary. Are you encountering issues with it?
I did not buy 2.2 yet and I was wondering if I should, because right now my work flow contains Adventure Creator with UCC.
Forgive me if I'm not following, but I was under the impression that 2.2 was released 2 years ago:
https://opsive.com/news/ultimate-character-controller-2-2-released/
Are you referring to a different asset?
Sorry, my bad. I talk about version 3.
No problem. It's too early to say right now, as I'm not sure how much v3 affects existing projects. I will look into it, however.
All right, thank you.
I've been through v3 and added a separate integration pacakge on the Downloads page.
Version 1.76.1:
Upgrade notes
The SaveSystem script's ExtractSaveFileVariables function now returns the List of variables via callback
Added: Timers - use to increase or decrease a variable's value over time and run an ActionList upon completion
Version 1.76.2:
Congrats on the release,
I appreciate the new ToString() overrides, and the OnInventoryHover event is just what I needed👍
Version 1.76.3:
Thank you Chris for UCC v3 update!!! (and also articy:draft integration) YOU ARE THE BEST!
Apologies if this has been answered elsewhere, but is there a corresponding recommended version of Unity to be used with each AC version, or simply use the latest stable version of Unity?
Welcome to the community, @bill_renk.
I'd always recommend using the latest LTS version of Unity - both when using and not using AC as well.
However, if you find an issue between AC a particular version of Unity (including betas), by all means let me know.