When attempting to grant an experience the rights to use an Audio Asset, Roblox Studio throws an unexpected error and prevents the tab from opening correctly, instead showing an empty box.
Opening the output shows this error message.
Error: provide: item at 4 was not a ContextItem. - Standalone
13:57:43.335 AssetAccess.AssetAccess.Packages._Index.Scheduler.Scheduler.forks.SchedulerHostConfig.default:117:
------ Error caught by React ------
provide: item at 4 was not a ContextItem.
------ Error caught by React ------
AssetAccess.AssetAccess.Packages._Index.DeveloperFramework.DeveloperFramework.UI.ContextServices.provide:57
sabuiltin_AssetAccess.rbxm.AssetAccess.Packages._Index.Dash.Dash.collect:21 function collect
AssetAccess.AssetAccess.Packages._Index.DeveloperFramework.DeveloperFramework.UI.ContextServices.provide:56 function init
AssetAccess.AssetAccess.Packages._Index.React.React.ReactBaseClasses:288 function __ctor
AssetAccess.AssetAccess.Packages._Index.ReactReconciler.ReactReconciler.ReactFiberClassComponent.new:745 function constructClassInstance
AssetAccess.AssetAccess.Packages._Index.ReactReconciler.ReactReconciler.ReactFiberBeginWork.new:1050 function updateClassComponent
AssetAccess.AssetAccess.Packages._Index.ReactReconciler.ReactReconciler.ReactFiberBeginWork.new:3519 function beginWork
AssetAccess.AssetAccess.Packages._Index.ReactReconciler.ReactReconciler.ReactFiberWorkLoop.new:245
AssetAccess.AssetAccess.Packages._Index.ReactReconciler.ReactReconciler.ReactFiberWorkLoop.new:1946
AssetAccess.AssetAccess.Packages._Index.ReactReconciler.ReactReconciler.ReactFiberWorkLoop.new:1834
AssetAccess.AssetAccess.Packages._Index.ReactReconciler.ReactReconciler.ReactFiberWorkLoop.new:1783
AssetAccess.AssetAccess.Packages._Index.ReactReconciler.ReactReconciler.ReactFiberWorkLoop.new:919
AssetAccess.AssetAccess.Packages._Index.ReactReconciler.ReactReconciler.ReactFiberWorkLoop.new:837
AssetAccess.AssetAccess.Packages._Index.Scheduler.Scheduler.Scheduler:304
AssetAccess.AssetAccess.Packages._Index.Scheduler.Scheduler.Scheduler:260
AssetAccess.AssetAccess.Packages._Index.Scheduler.Scheduler.forks.SchedulerHostConfig.default:81 function doWork
AssetAccess.AssetAccess.Packages._Index.Scheduler.Scheduler.forks.SchedulerHostConfig.default:104 function performWorkUntilDeadline
- Standalone
13:57:43.335 Stack Begin - Studio
13:57:43.335 Script 'AssetAccess.AssetAccess.Packages._Index.Scheduler.Scheduler.forks.SchedulerHostConfig.default', Line 117 - function performWorkUntilDeadline - Studio
13:57:43.335 Stack End - Studio
13:57:43.512 Error: provide: item at 4 was not a ContextItem. - Standalone
13:57:43.512 AssetAccess.AssetAccess.Packages._Index.Scheduler.Scheduler.forks.SchedulerHostConfig.default:117:
------ Error caught by React ------
provide: item at 4 was not a ContextItem.
------ Error caught by React ------
AssetAccess.AssetAccess.Packages._Index.DeveloperFramework.DeveloperFramework.UI.ContextServices.provide:57
sabuiltin_AssetAccess.rbxm.AssetAccess.Packages._Index.Dash.Dash.collect:21 function collect
AssetAccess.AssetAccess.Packages._Index.DeveloperFramework.DeveloperFramework.UI.ContextServices.provide:56 function init
AssetAccess.AssetAccess.Packages._Index.React.React.ReactBaseClasses:288 function __ctor
AssetAccess.AssetAccess.Packages._Index.ReactReconciler.ReactReconciler.ReactFiberClassComponent.new:745 function constructClassInstance
AssetAccess.AssetAccess.Packages._Index.ReactReconciler.ReactReconciler.ReactFiberBeginWork.new:1050 function updateClassComponent
AssetAccess.AssetAccess.Packages._Index.ReactReconciler.ReactReconciler.ReactFiberBeginWork.new:3519 function beginWork
AssetAccess.AssetAccess.Packages._Index.ReactReconciler.ReactReconciler.ReactFiberWorkLoop.new:245
AssetAccess.AssetAccess.Packages._Index.ReactReconciler.ReactReconciler.ReactFiberWorkLoop.new:1946
AssetAccess.AssetAccess.Packages._Index.ReactReconciler.ReactReconciler.ReactFiberWorkLoop.new:1834
AssetAccess.AssetAccess.Packages._Index.ReactReconciler.ReactReconciler.ReactFiberWorkLoop.new:1783
AssetAccess.AssetAccess.Packages._Index.ReactReconciler.ReactReconciler.ReactFiberWorkLoop.new:919
AssetAccess.AssetAccess.Packages._Index.ReactReconciler.ReactReconciler.ReactFiberWorkLoop.new:837
AssetAccess.AssetAccess.Packages._Index.Scheduler.Scheduler.Scheduler:304
AssetAccess.AssetAccess.Packages._Index.Scheduler.Scheduler.Scheduler:260
AssetAccess.AssetAccess.Packages._Index.Scheduler.Scheduler.forks.SchedulerHostConfig.default:81 function doWork
AssetAccess.AssetAccess.Packages._Index.Scheduler.Scheduler.forks.SchedulerHostConfig.default:104 function performWorkUntilDeadline
- Standalone
13:57:43.512 Stack Begin - Studio
13:57:43.512 Script 'AssetAccess.AssetAccess.Packages._Index.Scheduler.Scheduler.forks.SchedulerHostConfig.default', Line 117 - function performWorkUntilDeadline - Studio
13:57:43.512 Stack End
How to reproduce
Upload an Audio that your experience doesn’t have access to, open the output inside Roblox Studio and finally, click on the “The experience doesn’t have access permission to use asset id x. Click to share access” error message.
Expected behavior
What should happen instead is, the Audio Access Sharing tab should open up, allowing for you to grant access to any audio files that the experience currently doesn’t have access to.