tkbergs
(TYL3R)
January 29, 2024, 11:31pm
#1
I want to fix this error but it’s not telling me where I need to go in order to fix the problem. Any advice or help would be greatly appreciated!
NLU4K
(nlu4k)
January 29, 2024, 11:33pm
#2
Found some posts that might help
To avoid recursion of modules, make sure that your module is not requiring modules until it turns into a cycle if you were to create a flowchart of how the hierarchy looks like, not through the Explorer’s script tree architecture.
Although you could try a band-aid solution that hinders the script from being required in a recursion, but I doubt that’s workable, because once you require, it won’t be the same environment every time.
I thought I answered to a similar question earlier:
To avoid require recursions, map out the requires and make sure it does not create a cycle within it. For instance, the easiest recursion that can be found is when A requires B and B requires A. Otherwise you have A to B to C to A recursion.
1 Like
tkbergs
(TYL3R)
January 30, 2024, 12:05am
#3
does recursion only happen with modules? or do they also happen with server scripts and local scripts?
Katrist
(Katrist)
January 30, 2024, 12:51am
#4
Your error specifically refers to module recursion.
tkbergs
(TYL3R)
January 30, 2024, 2:34am
#5
i can only find two ModuleScripts in my entire game, and when i delete them and test it it still says the error in the Output. is there a way to filter the explorer to show me any hidden modules that may have potentially gotten buried?