So, I'm using the UI particle Package from [this video][1] and I wanted to ask, if it is possible to mask particles... Can someone help me?
[1]: https://www.youtube.com/watch?v=ir9Rvi1QG8Y
↧
Mask UI particles
↧
Unity Engine script assemblies not accessible in my package
I have [this project][1]; a package I'm developing that's extending Unity's Layout Element component. However, when I build I get errors like below
----------
Packages\UnityLayoutElementExtended\Editor\Editors\LayoutElementExtendedEditor.cs(2,19): error CS0234: The type or namespace name 'UI' does not exist in the namespace 'UnityEditor' (are you missing an assembly reference?)
Packages\UnityLayoutElementExtended\Editor\Editors\LayoutElementExtendedEditor.cs(8,48): error CS0246: The type or namespace name 'LayoutElementEditor' could not be found (are you missing a using directive or an assembly reference?)
Packages\UnityLayoutElementExtended\Editor\PropertyDrawers\LayoutElementExtendedValuePropertyDrawer.cs(7,61): error CS0246: The type or namespace name 'PropertyDrawer' could not be found (are you missing a using directive or an assembly reference?)
----------
I have script assemblies for both sections of my code (Scripts and Editor). I think I've set their references correctly
![alt text][2]
The errors above are like I need to set UnityEngine and UnityEditor themselves as references but they do not appear as an option to do so. I'm kind of stumped as to what the problem is.
I have a feeling I'm missing something really simple or this is a Unity bug. Anyone else have similar issues?
I'm on Windows Unity 2020.
[1]: https://github.com/QuantumCalzone/UnityLayoutElementExtended
[2]: https://imgur.com/SLXwWxH.png
↧
↧
Can't import custom package,,Can't import custom packages
I've been having an error where I cant import any custome package. The preparing package bar show up and then just disappear without showing the window where I can pick the thing I want to import into my project.
please help
http://imgur.com/a/Id5l22Z
↧
The name "Game Foundation" does not exist in the current context
Hi! I'm trying out Game Foundation and I want to save all the changes that are made in Runtime. So I found this code in the official tutorial:
using UnityEngine;
using UnityEngine.GameFoundation;
public class SaveGame : MonoBehaviour
{
IDataPersistence localPersistence;
void Awake()
{
// choose what format you want to use
JsonDataSerializer dataSerializer = new JsonDataSerializer();
// choose where and how the data is stored
localPersistence = new LocalPersistence(dataSerializer);
// tell Game Foundation to initialize using this
// persistence system. Only call Initialize once per session.
GameFoundation.Initialize(localPersistence);
}
public void Save()
{
GameFoundation.Save(localPersistence);
}
public void Load()
{
GameFoundation.Load(localPersistence);
}
}
But I'm having this problem:
![alt text][1]
[1]: /storage/temp/172228-безымянныи.png
Any help will be appreciated!
↧
2020.1.17 Error Failed to start Unity Package Manager local server process
HELP! I just installed the latest version 2020.1.17 and trying to launch I get this error. I tried a previous project that I was going to work on and tried a brand new project, as that has solved problems in the past. Not this time. I ran the diagnostics and this was the only problem area:
❌ UPM health check (FAIL)
Start the UPM process and call its health endpoint
>> Server exited unexpectedly. Exit code: 216
Nothing on my system has changed.
Here is the Package update file, just in case that is needed too.
=== Wed Sep 23 15:36:41 2020
Packages were changed.
Update Mode: updateDependencies
The following packages were added:
com.unity.2d.sprite@1.0.0
com.unity.2d.tilemap@1.0.0
com.unity.collab-proxy@1.3.9
com.unity.ide.rider@1.2.1
com.unity.ide.visualstudio@2.0.2
com.unity.ide.vscode@1.2.1
com.unity.modules.androidjni@1.0.0
com.unity.test-framework@1.1.16
com.unity.timeline@1.2.6
com.unity.ugui@1.0.0
com.unity.xr.legacyinputhelpers@2.1.4
The following packages were updated:
com.unity.ads from version 2.0.8 to 3.4.9
com.unity.analytics from version 2.0.16 to 3.3.5
com.unity.purchasing from version 2.0.3 to 2.1.0
com.unity.textmeshpro from version 1.2.4 to 3.0.1
The following packages were removed:
com.unity.package-manager-ui@1.9.11
=== Thu Oct 22 14:47:20 2020
Packages were changed.
Update Mode: updateDependencies
The following packages were updated:
com.unity.purchasing from version 2.1.0 to 2.1.1
com.unity.test-framework from version 1.1.16 to 1.1.18
=== Wed Oct 28 14:42:00 2020
Packages were changed.
Update Mode: updateDependencies
The following packages were updated:
com.unity.ads from version 3.4.9 to 3.5.0
Thanks! I'd like to get back to programming...
↧
↧
Advertisement package 3.5.2 runtime error
Hi
I'm trying to update my advertisement package from 3.3.1 to the latest 3.5.2. After imported the package i have an assembly reference error only with UI and EventManagers.
i thought it was my project fault so i did an import in an empty project and i had the same errors
i'm using unity 2019.4.1f1
![alt text][1]
[1]: /storage/temp/172328-unity-error.png
Thank you a lot guys
↧
Same Package Manager problem for 2020.1.16 exit code: 216
I posted yesterday about this same issue with 2020.1.17. Today I thought I'd try the previous version just to see if it worked. I'm getting the exact same error. It cannot reach the package server for some reason. When I run the diagnostic all pass except one:
❌ UPM health check (FAIL)
Start the UPM process and call its health endpoint
>> Server exited unexpectedly. Exit code: 216
My antivirus has not given an alert about this or my fireweall.
2020.1.11 didn't have the issue, I'll try to go back to that. Just out of curiosity what is the ip address of the package server so I can check my logs?
Thanks!
↧
Package manager not showing
Hi guys,
When I opened the Package manager, it just showed up as a black screen. I can still move it around, but nothing more. I just upgraded to unity version 2019.4.16f1 because the asset store was stuck at 0% when downloading (which it still does) and because when I installed packages on the previous version, I got "Error code 7".
Thanks in advance for any help.
↧
I am having a problem resolving package everytime i create a new project
![alt text][1]
[1]: /storage/temp/172859-desktop-screenshot-20201220-18305106-2.png
I a=started having the problem Since 2019.4. I tried giving administrator ptivileges. I reinstalled unity. I always have to copy the cache file to the given location manually. I want to fix this
↧
↧
Problem with dependencies
Hi,i have a little problem,i have an older project of mine,from when i was in highschool with some friends,and i wanted some gameobjects with all the components and scripts to use them in a newer project,i still use the unity 2017.4.39f1 i made a prefab from a gameobject and when i go to assets>Export package and i selected only that prefab but with dependencies checked but when i import that package in the other project(default project with nothing in it) i only some components like colliers and transform but not any script or mesh renderer or filter and when i open the package in the new project it is empty without any scripts or meshes or audio. I checked online on unity forums and read some articles and seems to be a problem with dependencies when i create that package,it doesen't include any dependencies even though i checked it,what do you guys recomend to do?upgrade the project to 2019 or 2020,is there some work around to this probably to manualy transfer the scripts and meshes and other stuff but it will be still connected togheter?
↧
Error adding package : com.unity.cinemachine@2.6.3
I tried installing cinemachine to my 2D project and it repeatedly failed. I am currently using Unity 2020.1.13f1. An error message would appear saying, "An error occurred (Cannot connect to Unity Package Manager local server). See console for more details." On the console, the error says:
Error adding package: com.unity.cinemachine@2.6.3.
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()
I would greatly appreciate any help I can get. Thank you.
↧
unity package manager completely gray
![alt text][1]
When I open the package manager, there is nothing there. I can still click on one button, But I haven't tested anything else because I don't want to accidentally import an asset. This might not be important but every time I load unity it shows this:
The editor layout could not be fully loaded, this can happen when the layout contains EditorWindows not available in this project
UnityEditor.WindowLayout:LoadDefaultWindowPreferences()
the sprite editor is also acting weird:![alt text][2]
[1]: /storage/temp/172905-screenshot-2020-12-21-145714.png
[2]: /storage/temp/172910-screenshot-2020-12-21-150104.png
sometimes it doesn't even show the panel at all. These are the only weird things I have seen so far. I have tried restarting my computer and closing unity and opening it back up.
↧
Package Manager problem,When I go to package manager, it puts me [PackageManager] Error Unable to retrieve authorization code. The user access token has expired or the user is not logged in. UnityEditor.EditorApplication: Internal_CallUpdateFunctions ()
When I go to the package manager it puts me : *Error [PackageManager] Unable to retrieve authorization code. The user access token has expired or the user is not logged in.
UnityEditor.EditorApplication: Internal_CallUpdateFunctions (),Please help me I can't update or import in the Package Manager* please help me !!
↧
↧
Unity Package Manager Error -- 2020.2.1f1 -- Mac
I received this error message after updating Unity. I found the Unity Package Manager in the correct folder, I tried commands in the terminal and I reinstalled the latest version of Unity. Please help. I am trying to finish a project.
![alt text][1]
[1]: /storage/temp/173050-screen-shot-2020-12-24-at-84500-am.png
↧
When clicking import package, there is nothing showing
I'm using 2018.4 and when i right click on assets and click the "import package" thing, the only option is "custom package"
im following a brackeys tutorial and he has all these other packages. how do i get them and why dont i have them?
↧
in 2020.1.17 where is Terrain Tools its not in package manager
i was following one of brackeys toturial (about terrain generation ) where he use terrain tool to so it but i am unable to find the terrain tool in the package manager and also there is no setting like (all packages )
its only register packages [i am using unity 2020.1.17f1]
↧
How can I change directory for Unity to download packages into?
Seriously... My C drive is meant for system only. It doesn't have much free space. Having to reorganize my drive for proper use of Unity is... Having to create a symbolic link (which I don't know what it is yet) is urgh. Is that for real the only way to do that? 2021...
↧
↧
How to reference class from Runtime asmdef in Editor asmdef from within a local unity package?
For the life of me, I can't figure this out.
I have a local unity package with this folder structure:
Runtime/
HelixGenerator.cs
Lumic.Music.asmdef
Editor/
HelixGeneratorEditor.cs
Lumic.Music.Editor.asmdef (this one only has "Editor" checked in target platform)
Now, this code fails to compile because it can't find the type (classname is correct, correct namespace imported).
[CustomEditor(typeof(HelixGenerator), true)]
public class HelixGeneratorEditor : Editor
When I inspect the project references in Visual Studio, I don't see "Lumic.Music" being referenced in "Lumic.Music.Editor". I don't find any option anywhere to be able to add that reference.
![Image showing editor assembly not having reference to runtime assembly][1]
Am I missing something?
[1]: /storage/temp/174063-screenshot-2021-01-11-233527.jpg
↧
Package manager error
When ever I tried to import assets via the package manager, I get "Error: Receiving data failed with unitytls error code 7". What does this mean and how can I fix it? Also, using the asset is not an option because the download gets stuck at 0%.
↧
UPM Keeps adding com.unity.ads package
Basically that
* I dont have com.unity.ads in my manifest.json
* I have a package-lock.json in my version control
Unity adds com.unity.ads anyway everytime a project has no Library project. This gives me duplicated classes because we are using unity ads dependency in our side.
Is there a way to force Unity to not add anything or update anything?
↧