Quenty / NevermoreEngine

ModuleScript loader with reusable and easy unified server-client modules for faster game development on Roblox
https://quenty.github.io/NevermoreEngine/
MIT License
408 stars 124 forks source link

No error is thrown when the loader finds 2+ packages named the same #356

Open OttoHatt opened 1 year ago

OttoHatt commented 1 year ago

When two packages are named the same, one will inevitably be replicated in before the other. The loader will choose the first. This means that seemingly at random, a conflicting package and its modules will fail to load in-game, giving you the typical xxxx not a child of folder error.

While this isn't undesired behaviour, a more descriptive error should be thrown. You normally see this error when you've mistyped a module name, it's easy to misattribute the cause.

This only occurs with .bootstrapGame, affecting both the client and server.