Skip to content

(Net) Ensure functionality in non-replicated locations#247

Open
TCAGM-Dev wants to merge 11 commits intoSleitnick:mainfrom
TCAGM-Dev:feature/net_adaptivecontainer
Open

(Net) Ensure functionality in non-replicated locations#247
TCAGM-Dev wants to merge 11 commits intoSleitnick:mainfrom
TCAGM-Dev:feature/net_adaptivecontainer

Conversation

@TCAGM-Dev
Copy link

What

In the case of Net not being in ReplicatedStorage, it now uses the "NetEvents" folder (created when necessary) inside ReplicatedStorage to ensure it still works properly

Why

In a personal project, I am using Fusion to make a loading screen.
This loading screen fires a RemoteEvent using Net when the client is done loading, for the server to :LoadCharacter() them.
Because wally does not have a seperate "client-dependencies" field, I am forced to sync Fusion into the same place as would-be shared dependencies such as Net.
Because Fusion is needed for the loading screen, it needs to be synced into ReplicatedFirst, and in turn Net has to be as well.
When testing this configuration I found out that RemoteEvents do not work in ReplicatedFirst, even though technically Net is present on both the server and client, so the current approach of putting the events inside of the script (in ReplicatedFirst) does not work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant