Closed TCROC closed 3 years ago
This actually appears to be occurring for more than just System.Net.Http
It is also occurring for UnityEngine.UI and TMPro.
The ZXing namespace is a plugin's namespace similar to that Newtonsoft error you resolved earlier. I'll open up a seperate issue for that since it isn't only Unity related.
That strange. I'm sure UI is working (I'm every day works with Unity). Can you File -> Project Structure, and show me what you have? Also view Dependencies tab for Assembly-CSharp
This is the Project Structure:
How do I get to the Dependencies tab?
Modules tab
Awesome! Just found it! :)
(I blurred out the one. It was a private package that is irrelevant)
Np. Right + and select .NET library. System.Http for example. Helps or not
That worked! :)
Now we just have to resolve the Unity.UI issue
And TMPro
looks like bug. Can you say what depedencies you added? Also reimport will drop choose changes
I added System.Net.Http
I'll fill out a separate issue for those other problems with UnityEngine.UI, the ZXing, and TMPro
Ok so I can't seem to recreate the issue in an example project. It only occurs in this project. Any ideas as to where to look for the issue?
The System.Net.Http error occurs in the example project, but not the other ones
I think I found the issue! (At least in my main project). The issue with UnityEngine.UI, plugins, and TMPro seems to only occur for embedded packages. I'll see if I can recreate it in an example project and share it with you
Yep! That causes it! I'll open up a separate issue with a link to a GitHub project.
Test new build
This appears to be working now
Consulo fails to resolve Http in the System.Net.Http namespace in a Unity project:
Unity resolves it fine tho and doesn't have any errors:
consulo.log
OS: Ubuntu 18.04 Unity Version: 2019.4.14f1 Unity Consulo Plugin Version: 2.4.0
Consulo About