Troubleshooting
Common issues you may encounter while using Light Reflector
Note: This document is in the works and not every issue will be documented!
Global Issues
Neither reflectors nor signs work at all!
Did you do the following:
- Ensure that the reflector tags
Reflectorand sign tagsReflectiveSignare present on the part? (if applicable) - Checked if your vehicle is actually registered in Light Reflector? Usually prints "Indexed Vehicle" in the output.
- Try passing
trueon theCheckForRegLightValuefunction and seeing if it works without checking for the regular light value - Ensure that Light Reflector loaded properly (no
Requested module failed to loaderrors)
RunContext
The module is not loading at all when I require it in the server!
Light Reflector x.y.z Invalid RunContext: Init module can only be run from the client.
You are supposed to require the module in the client, not in the server.
If you are trying to access the version module, require it directly:
MassFatalInit
The module cannot initialize at all; however, requiring works!
Light Reflector x.y.z Mass fatal init errored: Register Module 🔴 JECS (an Entity Component System) failed to load the world.
These errors should not appear whatsoever. If you see this in the output, open an issue in this repositiory (in Codeberg) or create a post in #oss-support located in my Discord server.
Sign Issues
Distortion
My sign appears distorted and/or does not light up properly using the decal renderer!
Light Reflector x.y.z Warning: Detect ⚠️ Sign "XXX" at Workspace.XXX has the decal renderer enabled, but the sign's material is METAL. The decal renderer will NOT work properly with the METAL material. Unless this is intentional, please change the sign's material to a different material like Plastic. Please note that you only need to change the material of the part that the decal is parented to.
Did you do the following:
- Checked off all possible global issues
- Ensure that the material is NOT
Metal, AND have used another material such asSmoothPlastic
Orientation
My sign is orientated incorrectly while using the SurfaceGui renderer!
Unfortunately, this may happen if the Decal's face is Top or Bottom.
You could try the following:
- Using the decal renderer instead of the SurfaceGui renderer
- Rotating/resizing a part to NOT use the
ToporBottomface
Reflector Issues
My base reflectors are tagged, but do not work!
Did you do the following:
- Ensure that there are NO textures whatsoever, and that the base reflector is a standard
BasePart? - Ensure that reflectors are properly indexed (usually there should be a BaseColor attribute showing during runtime)
Hybrid Reflector Issues
My hybrid reflectors are tagged, but do not work!
Did you do the following:
- Ensure that if it is a
Union, thatKeepColorsis disabled? (Or you could pass an override) - Ensure that you have the required attributes
LRHybrid(boolean) andLRFace(string)? - Ensure that
LRFaceis a validEnum.NormalIdvalue? (Front,Back,Right,Top, etc.)