Enum:FromName and Enum:FromValue not showing up in some cases

image

--!strict
Enum.Material: -- FromName & FromValue show up



image

--!strict
Enum:GetEnums()[1]: -- FromName & FromValue dont show up

Enum:FromName and Enum:FromValue not showing up in some cases

1 Like

Thank you for the report.

We will look into making an improvement for this, but it will likely not be our priority.

Hi there, just wanted to follow up on this one. From my understanding, this issue is ultimately a consequence of specifics in how all Roblox enumerations are reified into foreign objects accessible from Luau, and may involve a disproportionate amount of work for a use case that is fundamentally uncommon since you cannot tell consistently which enumeration you’re even working with if you accessed it from the whole list, rather than by name. There’s some ongoing projects to improve some of the systems at play here that very well may fix this in the future, but at least as it stands, we can’t really work directly on this specific ticket without a disproportionate effort for its payoff.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.