Search Unity

Polybrush Error: Look Rotation viewing vector is zero - Polybrush doesn't paint objects

Discussion in 'World Building' started by ZoCProffel, Jan 26, 2019.

  1. ZoCProffel

    ZoCProffel

    Joined:
    Oct 20, 2017
    Posts:
    3
    Hello,
    I recently downloaded Polybrush and wanted to use the "Paint Prefabs" option on a model to paint grass models from this asset store pack: https://assetstore.unity.com/packages/3d/vegetation/low-poly-nature-free-vegetation-134006
    The problem is, that when I try to paint, no new models appear and the console says:

    "Look rotation viewing vector is zero
    UnityEngine.Quaternion:LookRotation(Vector3, Vector3)
    Polybrush.z_BrushModePrefab:RandomRay(Vector3, Vector3, Single, Single, AnimationCurve) (at Assets/ProCore/Polybrush/Code/Editor/Brush Modes/z_BrushModePrefab.cs:294)
    Polybrush.z_BrushModePrefab:placeGameObject(z_RaycastHit, GameObject, z_BrushTarget, z_BrushSettings) (at Assets/ProCore/Polybrush/Code/Editor/Brush Modes/z_BrushModePrefab.cs:235)
    Polybrush.z_BrushModePrefab:OnBrushApply(z_BrushTarget, z_BrushSettings) (at Assets/ProCore/Polybrush/Code/Editor/Brush Modes/z_BrushModePrefab.cs:222)
    Polybrush.z_Editor:ApplyBrush() (at Assets/ProCore/Polybrush/Code/Editor/Interface/z_Editor.cs:858)
    Polybrush.z_Editor:OnSceneGUI(SceneView) (at Assets/ProCore/Polybrush/Code/Editor/Interface/z_Editor.cs:603)
    UnityEngine.GUIUtility:processEvent(Int32, IntPtr)"


    I would be grateful for the help.
     
  2. Reshima

    Reshima

    Joined:
    Dec 10, 2012
    Posts:
    51
  3. ZoCProffel

    ZoCProffel

    Joined:
    Oct 20, 2017
    Posts:
    3
    Ok, thanks.
     
  4. gabrielw_unity

    gabrielw_unity

    Unity Technologies

    Joined:
    Feb 19, 2018
    Posts:
    963
    Thanks Reshima! Yep, we're moving toward a preview release soon.