Jump to content

Animated Emissives in Unity 5


Recommended Posts

I've been trying to set up emissives for command pod window lights, but can't seem to get anywhere. I've added an animation in Unity that works in preview as expected, but when I try and use it in game I get the following error:
 

 Module ModuleAnimateGeneric threw during OnStart: System.IndexOutOfRangeException: Array index is out of range.
  at ModuleAnimateGeneric.OnStart (StartState state) [0x00000] in <filename unknown>:0 
  at Part.ModulesOnStart () [0x00000] in <filename unknown>:0 

Are there any up to date tutorials for adding window lights? Because the ones I've found on the forums all reference unity 4 and following them doesn't seem to work.

Link to comment
Share on other sites

8 minutes ago, martinezfg11 said:

Is your config properly referencing your animation?

I think so, though i'm not entirely sure about all the fields. The Anim is called IRT40_Lights, and that's what I've got in the config.

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...