How to edit the renderer of Stylus line

0 votes
asked Aug 12, 2018 by Benoit (12 points)
edited Aug 12, 2018 by Benoit

The stylus is working well, and I can move object. But for a reason I can't find, the virtual line is pink (as if material was missing), and I can't figure out how to change it.
The problem only appear when building an .exe. When I run in Unity the virtual line works as it should do.

1 Answer

0 votes
answered Aug 13, 2018 by AlexShorey (267 points)
Hi Benoit,

The issue you're encountering has to do with the StylusObjectManipulationSample's use of "Shader.Find()". There are simple ways to solve the issue, but ultimately this method of drawing the stylus is intended to be replaced by developers to suit the functional and aesthetic needs of the app being written.