Plugin:PromptSaveSelectionAsync() always returns true

Plugin:PromptSaveSelectionAsync() is supposed to return a bool indicating whether a file was saved to disk or not. However, it’s currently always returning true, even if a file was not saved.


Repro

  1. Call print(plugin:PromptSaveSelectionAsync()) from a script running at the plugin context. This will prompt you to save a file.

  2. Click Cancel after being prompted to save a file.

  3. true should appear in output, even though you didn’t actually save a file.


System information

  • OS: Windows 10
  • CPU: Intel(R) Core™ i7-6700 CPU @ 3.40GHz
  • Memory: 16 GB
  • GPU: NVIDIA GeForce GTX 1660 Ti

Beta features

View
  • 3D Importer in ACE
  • Adaptive Animations
  • CreateAssetAsync Lua API
  • Dragger QoL Improvements
  • Editable Mesh/Image to static content conversion API
  • Edit-Time Procedural Models
  • Face Capture
  • glTF Export
  • Improved Constraint Tool
  • Improved Studio Solid Modeling Controls
  • Live Animation Creator
  • MaterialVariant Alpha Mode
  • Multi-touch Simulation
  • New Studio Camera Controls
  • New Video API
  • Party Simulator
  • Reimport
  • Revamped Asset Manager
  • Script Sync
  • Scripts Are Non-Strict By Default
  • Solid Modeling On Meshes
  • StyleQuery
  • Video Uploads

Expected behavior

Plugin:PromptSaveSelectionAsync() should return a bool that correctly describes whether a file was actually saved or not.