require(AssetID) not working

Hey developers!

I’m trying to require a module by using require(AssetId), but it’s not working. I’m getting this error:

  21:33:50.460  Downloading asset failed for asset id 6694370546.  Is the asset id correct and is the asset type "Model"?  -  Server - Loader:15

Yes, the model is a ModuleScript named ‘MainModule’. Any help would be appreciated!

Have a nice day!

Is this in a game you own, or did you add the loader to a Team Create game or anything similar?

1 Like

It’s a model so it isn’t made for a game I own. How does HD Admin do this then?

Your module must be public to be used in other’s games.

1 Like

Let me try that real quick. I will let you know if it works.

I don’t see any ‘Public’ setting. How would you do this?

Three dots > Configure > Sales > Item for Sale

1 Like

I only see ‘General’ and ‘Versions’.

Oh, it should be in General then. Let me check with my own modules, hold on

1 Like

It’s under General > Allow Copying.

3 Likes

In the game settings? Or in the model settings, cuz I don’t see a general/Allow Copying on the developer dashboard.

Nothing in general. They prob change it.

For anyone viewing this, the option is now Distribute on Creator Store under the Configure tab (for the asset) in the new dashboard

1 Like