realitycollective / com.realitytoolkit.core

The all-purpose framework for building the next reality
MIT License
3 stars 0 forks source link

[Bug] LineRenderer script in Core is causing conflicts with "built-in" line Renderer #91

Open SimonDarksideJ opened 9 months ago

SimonDarksideJ commented 9 months ago

On importing the project to a clean install, Unity is now reporting the following warning in Unity 2022

Script 'LineRenderer' has the same name as the built-in Unity component. AddComponent and GetComponent will not work with this script.

The script it is referring to is:

Runtime\Utilities\Lines\Renderers\LineRenderer.cs

The RCT version of this simply needs renaming and updating to avoid this conflict going forward.