game:GetObjects and InsertService:LoadAsset do not create a package link when inserting packages

The methods game:GetObjects and Insert:LoadAsset do not create the associated PackageLink when inserting a package through these methods.

It looks like this issue is already known by the existence of the locked InsertService:LoadPackageAssetAsync which is likely what the toolbox uses

Expected behavior

The PackageLink to be created when inserting a package through this method.

1 Like

Iā€™m closing this as a feature request. Package operations in general cannot be accessed through script, so this behavior is consistent.

A complete API for interacting with packages from scripts is an excellent idea, and we are tracking this internally as a potential future feature.

Further discussion on this feature request will require creating a thread in this category