Quenty / Quenty/NevermoreEngine

Infinite Yield Possible When Requiring Module

Open
#179 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Lua
Stars
610
Forks
144
Avg merge
1d 20h
Merged PRs (30d)
12

Description

So I just installed Nevermore using the following:

local h = game:GetService("HttpService") local e = h.HttpEnabled h.HttpEnabled = true loadstring(h:GetAsync("https://raw.githubusercontent.com/Quenty/NevermoreEngine/version2/Install.lua"))(e)

This worked great. I then attempted to use the usage example found here

I put this code at the top of a server script in ServerScriptService:

local ReplicatedStorage = game:GetService("ReplicatedStorage")
local LoadCustomLibrary = require(ReplicatedStorage:WaitForChild("Nevermore"))

This resulted in the following error in Roblox Studio:

  18:40:08.835  Infinite yield possible on 'ServerScriptService:WaitForChild("Nevermore")'  -  Studio
  18:40:08.835  Stack Begin  -  Studio
  18:40:08.836  Script 'ReplicatedStorage.Nevermore', Line 76  -  Studio  -  Nevermore:76
  18:40:08.836  Stack End  -  Studio

Here is a screenshot of that helps:

image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the installation and usage example from 02_usage.md.html in Roblox Studio, starting with the ServerScriptService script and ReplicatedStorage.Nevermore line 76 shown in the error. Trace why WaitForChild("Nevermore") yields indefinitely, then verify that requiring ReplicatedStorage.Nevermore completes without the reported infinite-yield warning.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
game-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.