Question: Loading Lightcap file doesn't quite work
Here's the code I'm using to load a lightcap file (it exists within a button which is not included):
When I push my button it doesn't throw an error but the lightcap doesn't get loaded either. So I push the button again and the lightcap loads up without a problem.
Why isn't the lightcap loading the first time I push the button? How do I fix this?
I can't tell what might be going wrong from that code snippet.
Tags for this Thread