Search Unity

VFX graph and Cinemachine

Discussion in 'Cinemachine' started by yas_ots, Jul 29, 2019.

  1. yas_ots

    yas_ots

    Joined:
    Jul 1, 2019
    Posts:
    2
    Hi, I've been having a problem with VFX graph and Cinemachine.
    As soon as I try to enter playmode, I get an error.


    It seems like I can't enter playmode with cinemachine installed...


    I get this error message
    CinemachineCollisionImpulseSource.cs(43,9): error CS1069: The type name 'Rigidbody2D' could not be found in the namespace 'UnityEngine'. This type has been forwarded to assembly 'UnityEngine.Physics2DModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' Enable the built in package 'Physics 2D' in the Package Manager window to fix this error.

    I'm using Unity 2019.1.12f1

    High Definition RP 5.16.1
    Visual Effect Graph 5.16.1

    If I removed Cinemachine, it works as I expect...

    Let me know if anyone having the same problem...


    Thanks in advance.
     
  2. marc_tanenbaum

    marc_tanenbaum

    Unity Technologies

    Joined:
    Oct 22, 2014
    Posts:
    637
    Can I just ask if you tried the fix mentioned in the error message?
     
    Gregoryl likes this.
  3. yas_ots

    yas_ots

    Joined:
    Jul 1, 2019
    Posts:
    2
    Thank you for your quick response..!
    I couldn't find Physics 2D' in the Package Manager but found it build in package as it says...

    Thank you very much for your help!