Not an issue nevermind

All praise EchoReaper!

EDIT: Repro
Create a modulescript, and name it “MainModule”
Upload it as a model, not a free item, named “MainModule”
Create a script that requests it’s assest ID. It should work.
Log out and run the same script. This time the script should error “Unable to find module for asset id”
Change the module to a free item
The script should now work on all accounts.

If this is a thing then half the good Roblox games will bork

I’d recommend adding the Robloxcritical tag

I did a test and it only happens if the module is not a free item. I’m going to go ahead and guess this is an intentional change.

That’s the whole point of private modules lol

I know, it’s rather irritating.
shrug

O well breaks most my scripts
Yet another unannounced change maybe

From what I remember, being able to require private assets was a bug in the first place, so this isn’t exactly an unannounced change, more of an unannounced fix.

Cannot confirm – just loaded one of my private modules into another person’s game with no issue. Maybe ROBLOX is deleting specific (malicious?) modules?

@Partixel Change/fix wouldn’t really accurately describe the result if this happened. Even if it weren’t intended behavior, there are very popular models that use this, and games that use them would have been broken without notice if private modules were suddenly patched. While it may not be intended functionality, if ROBLOX ever decides to remove it, they should do so with advanced notice so developers have time to adjust modules they use/own.

1 Like

I agree, they should do it with advanced notice, I use private modules too. I was just acknowledging the fact that it is a bug, not an intended feature.

Have you tried it with a brand new module? This is odd, because I did it twice with the above repro with the same results both times.

Testing now, but what is the module’s instance name? Not the asset name. The instance has to be named MainModule – not the asset.

Both MainModule.

Yep – even works with a new module.

Test Place: Blank Test - Roblox
New Module: https://www.roblox.com/library/768169800/TestModule

Module sets the ambient/outdoorambient to red.

FYI, you can’t use private modules in Studio (you’ll get the error mentioned in OP) – it has to be online.

This will probably be it.