-
Notifications
You must be signed in to change notification settings - Fork 35
The name 'GetDrive' does not exist in the current context #6
Copy link
Copy link
Open
Description
Hi,I am using Jenkins to build my unity project for Android platform on Ubuntu18.04.
When Unity try to compile your plugin's code on the SimpleDiskUtils/Plugins/DiskUtils/DiskUtils.cs,
Unity will throw Scripts have compiler errors error.
Log shows that:
Assets/ThirdParty/SimpleDiskUtils/Plugins/DiskUtils/DiskUtils.cs(144,25): error CS0103: The name 'GetDrive' does not exist in the current context
Assets/ThirdParty/SimpleDiskUtils/Plugins/DiskUtils/DiskUtils.cs(155,25): error CS0103: The name 'GetDrive' does not exist in the current context
Assets/ThirdParty/SimpleDiskUtils/Plugins/DiskUtils/DiskUtils.cs(166,25): error CS0103: The name 'GetDrive' does not exist in the current context
In DiskUtils.cs, line 87, I try to fix this bug with this:
before:
#elif UNITY_STANDALONE_WIN || UNITY_EDITOR_WINafter
#elif UNITY_STANDALONE_WIN || UNITY_EDITOR_WIN || UNITY_EDITOR_LINUXWith this modification, Unity will not show complier error in DiskUtils.cs, but I don't now whether my modification will bring other bugs for other platform.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels