Unresolved Import for VS 2019 /w Python Support for Latest Python Preview Package

Hello,

I’ve tried googling every thread I can find, tried pipping in any package I can find that may resolve the issue, but no matter what I get no intellisense/auto complete on the Visual Studio python side.

import UnityEngine / import UnityEditor throw unresolved import. I checked the packages in the Unity console and I have all them installed in VS. PySide2 not throwing same exception.

Not sure how to resolve this. Please advise! Thank you!

  • ET

Hi Eyeshock,

Someone managed to do it with the Python for Unity 2.x release (in Python 2.7) in early 2020:

I haven’t tried it and we don’t currently support auto-complete integration, but I’ll log it in our list of requested features, it certainly seems like it would be handy.