Trail Renderer not working in Unity iPhone?

Is it me, or is the trail renderer not working in unity iphone? I can only get it to display when I scrub the min Vertex Distance. If I stop changing it, it leaves what it had and stops adding positions… I’ll attach a screenshot.

I really need this a lot, is there anything I can do?
I thought about changing the min Vertex Distance every frame by just a little bit, but it seems there is no script-command for it (not even a read-only variable or anything) - not in the docs and I was also unable to find an undocumented one by trying out every possible way of spelling minVertexDistance, etc…

Please help or fix soon :]

98984--3839--$broken_trail_880.jpg

The StarTrooper demo uses Trail Renders so we’re pretty sure they work :wink:

well, on my iMac they don’t…

no trail on missiles. I also tried adding a new trail renderer to the ship - no result (unless I start changing values while it’s running, then a trail is generated until I stop changing values…)

restarting unity iphone doesn’t help, restarting iMac, doesn’t help either. And they also don’t show in the compiled version running on the iPhone…

They work fine in normal unity btw. I have a simple project with nothing but an animated gameobject with a trail renderer and in normal unity it works. if I open it in unity iPhone: no trails there… I’ll add the project, please have a look!

99038–3842–$trailrenderertest_960.zip (462 KB)
99038--3843--$missile_no_trail_197.jpg

There is a trail renderer attached to the missile but there are no graphics associated with it when playing in Unity or on the phone.

has anyone else tried trail renderers? do they work for you?

Col000r;

I just encountered the exact same phenomenon that you are describing, and haven’t yet been able to find any workarounds.

Have you bug reported this to Unity yet? If not, I would be glad to.

-Aubrey

I have reported a bug. but please do the same! the more people report it the bigger the chance it will be fixed soon!

I’ll add my voice to chorus - trail renderers don’t work in Unity iPhone.

Not in the editor and not in builds.

Fixed for 1.0.1 which is coming out ASAP… sorry this one slipped by us. It was apparently broken very late in the 1.0 testing cycle since we use it in the StarTrooper demo and none of us caught it in the last round of testing.

Ethan

Heya, aNTeNNa trEE!

Any chance you guys will have the “multiple cameras not rendering properly in the editor” bug fixed in 1.0.1? :wink:

Yes

will be playerprefs in that update?

that’s great news! thanks for the effort!

Oh, yeah, and PlayerPrefs - will it be fixed too? :wink:

What about plugins ? I doubt that such a small increment in version number could bring new features but it might still be worth asking…

Has anyone gotten trail rendering working on the iPhone? I have one that seems to work fine on the Mac, but when I publish to the iPod touch 2.0 it crashes the game. I disable the trail renderer and it works fine on the iPod.

Can anyone confirm this also?

This is the same as a bug with line renderers. Trails work, but you can’t have them lit with a point light.

What I’ve had to do is put Line and Trail Renderers into a layer that is ignored by my point light.

p.s. This is still broken in 1.0.2 RC1

interestingly it works fine with directional lights on iPhone - see here:

Check out both the video and the screen shots - the trail renderer works fine with and without directional lighting.

Have you reported a bug on this issue?

The bug (for LineRenderer) was logged by a guy in this thread:
http://forum.unity3d.com/viewtopic.php?t=17742