Problems with sdk and ndk in unity? - unity3d

Can't build the project and use unity remote. What to do? Downloaded the latest 2020 LTS with a development package for android
External Tools
Unity hub

When installing a version from the Unity Hub, make sure you have selected the various android packages as you see in the image.
You have shown a link where you show that you did. If the procedure is the one I showed you above, you are not wrong.
Perhaps the problem may be related to Unity 2020.3.15 which in fact I do not find among the available downloads and which was released a few days ago. Maybe they caught some bugs (like maybe what you are showing), and took it out of the releases. Try downloading the 2020.3.14 version from the site (the one I use too), and see if the problem persists.
https://unity3d.com/get-unity/download/archive

Related

Shader graph connections not visible in Unity3D

About a week ago I opened shader graph in one of my projects when I noticed the connections between nodes are just gone (like shown in the image). The shader still works just fine as if the connections are there, but it's impossible to work with since they are not visible. Today I have noticed that the Visual effect graph also lacks the connections. The problem started on Unity 2021.3.6f1, then I upgraded to Unity 2022.1.22f1 and the problem remains. Even if I create a new project I still can not see any connections. I am working on Macbook pro 2017. Any help would be appreciated.
shader graph without connections
I tried restarting computer, reinstalling Unity Editor, downgrading to an older version of Unity Editor and creating a blank project but nothing fixed the problem.
I experienced this same issue in Unity 2021.3.11f1, and confirmed the bug in multiple projects that were previously fine (only one of which was recently changed).
What MacOS version are you running? My best guess is that MacOS Ventura 13.1 broke some versions of Unity, as upgrading from macOS Monterey was the biggest change to my system this week (2019 MacBook Pro 16").
The following steps appear to have resolved the issue for me (so far so good):
Reboot the computer (just to be sure)
Backup the project (I just created an archived duplicate)
Install Unity 2021.3.16f1 (the latest LTS release)
Delete the project library (in case there's something weird cached)
Open the project in the new version of Unity (which also regenerates the library)
I am now able to edit shader graphs again. Of note, deleting the library and regenerating in 2021.3.11f1 did not fix the issue. Only opening it and regenerating the library in 2021.3.16f1 worked for me.
I did not test leaving the old library intact while opening the project in the newest LTS version of Unity; it's possible regeneration isn't necessary, but it does seem like the safest bet. Especially if you didn't try removing the library before upgrading the project to Unity 20221.22f1 and you're still experiencing issues. You might try deleting the library to see if that resolves the issue now, without trying to downgrade to 2021.3.16f1?
There's a post over on the Unity Answers support site about this issue as well, but the login system appears to be broken (the irony!), so I can't respond there. https://answers.unity.com/questions/1927887/shader-graph-connections-not-visible.html

unity exits when clicking the play button after adding MRTK packages

I have a problem in development of mixed reality app and there has been 2 days that I'm stuck.
My problem is that after adding packages of MRTK to the unity project, if I click the play button, the unity exits (closing) without any error massages or warning.
I tested two versions of unity (2020.3.32f1 and 2020.3.33f1) and both had the same problem.
I am using this link (MRTK document) and also this one Mixed Reality Feature Tool as a guide for configuration and adding the packages of MRTK to my project.
I have also tried two different versions of the packages i.e. (Mixed Reality Toolkit Foundation and Mixed Reality Toolkit Extensions both versions of 2.7.3 and 2.7.2 and for Mixed Reality OpenXR Plugin package I tried 1.4.0 and 1.3.1 versions).
I am using Visual Studio 2019 version 16.11.14
Inside Unity, I am choosing Universal Windows Platform from the Build Settings and I want to practice a little development of mixed reality applications, but I am stuck at the beginning and when ever I press the play button the unity exits (closed) without any warning or error.
Just for more information → I don't have Microsoft Hololens2, therefor I am considering to use Windows Mixed Reality simulator (Mixed Reality Portal).
I can't get what mistakes I am doing, please if you have any idea help me.
Thanks in advance.
There are many steps to configure a Unity Project for Mixed Reality. According to the description, it is hard to determine which step causes the issue. I have created a repository which is implemented with the necessary MR packages, and the configuration has been done. Feel free to pull the repo from https://github.com/sethdu0525/MR-Blank-Project. Please open it and click run to test.
If you still have this issue, you may need to have a clean installation of Unity 2020.3.33f1 (LTS), Visual Studio 2022 and make sure all the required components have been installed, including a comparatively new Windows SDK.
If you have a dump file for the crash, you may also share it and find support from Unity forum -- General Discussion - Unity Forum

How can i 'complete' my dart SDK rather than installing a separate version when using flutter?

I installed flutter by downloading and installing a release version.
It contains a partial dart SDK in its cache subfolder.
Namely, it's missing (amongst others executables) dart2native.
I realize I could just download and install a separate dart SDK from their website, then change all my paths to point to this newer, complete SDK. But that's exactly the problem - I do not wish to run 2 sdk version in parallel, it's confusing and likely will cause errors down the line (for example, my copy of android studio might be pointing at this or that SDK, and god knows what other tools might point towards it).
Question: is there a way to 'fill' my flutter dart SDK with the missing tools? Or am i doomed to run 2 version of dart SDK in parallel?
Answering my own question - after much googling, I found a repo maintainer stating that "For now, if you want to do to Dart development and use the Dart terminal commands (like dartfmt, pub, or dart2native), it's recommended that you download and install the Dart SDK. If you'd like you can also add it to path."
This is clearly sub-optimal. In fact just as I expected it seems to have led to a few people having faced issues, comment on https://github.com/flutter/flutter/issues/43968 if you'd like to see this addressed.

Unable to install any Unity version from Unity Hub

I'm looking into learning to use Unity, so I've downloaded the Unity Hub as it seems to be the way Unity is forcing us to download their versions from now on. The problem with this is that, every time I try to download any version of Unity through the Hub, I get a message once the download bar has completed along the lines of:
"Incomplete or corrupt download".
I've tried downloading plenty of different official versions, with various plugins, even without any add ons to start with, but I always get the same message.
I contacted Unity support, but they're insisting that it's my internet connection and I should download versions from the archives. Surely this can't be the case, as I can download everything else without any issues.
Has anyone else come across this issue and are there any solutions out there?
What I do :
1) First of all ignored Unity Hub and install Unity manually
Download Link: https://unity3d.com/get-unity/download/archive
2) Download "Unity Editor 64 bit" or "Torrent download(Win+Mac)"
3) I download second one which also have other support file like Android, iOS, AppleTV etc.
4) Now Install "UnitySetup64.exe" application and other support files as your need and enjoy your project.
Happy_Unity
Do you have enough disk space to download the version? They can get big, if you install various modules with it.
While installing a new module it mentions the required disk space at the top.

ADT Plugin Directory Location for SDK - (MotoDev)

Right now I am setting up Motodev.
Its a Android Development Suite built on Eclipse, created by Motorola.
What is needed is the Android SDK. Check, got that, newest version, everything is set with that.
Now it says I need the ADT Eclipse plugin. Version 20.0.1, currently mine is v18.
I know where to get it, I can easily get it, but I am curious, where should it be installed? Currently I dont have eclipse I am just using MotoDev. But since Motodev asks where the SDK location is, and says my ADT plugin is out of date, I am assuming I have to install the ADT in the SDK directory. But is there somewhere more specific to put it? In a specific folder? or just in the top level of the SDK directory?
Thanks for your time.
Unfortunately, you can't use ADT20 with MOTODEV Studio 4.0. The plugins had some API changes between 18 and 20 that made them incompatible with each other. You will need to roll your SDK back to 19 until we can release a newer version. I wrote about this about a week ago on the MOTODEV Studio blog.
We're done with the engineering work on the new version. It's just a matter of getting the push to the web server scheduled. I expect it to be ready by late next week or early the following week.
Until then, if you need to use ADT20 for Jellybean development, use Eclipse for Mobile Developers plus the MOTODEV Core Plugins (using Help>Eclipse Marketplace). Most of the functionality of the installed product is there, but without the dependency on ADT. See the blog for details on how to set that up.