Quantcast
Channel: Unity Forum

Arrow projectile WILL NOT come out right.

$
0
0
View attachment 1405989
Here is where the arrow launches from.

View attachment 1405986
Here is the prefab for the arrow that is shot.


View attachment 1405983
Here is the image of how the arrows come out. Ignore how close together they are. I can change that at any moment.

This is the code I used for my projectile launcher aka my crossbow. I followed a tutorial on youtube and have very very little experience with coding, but have a game do for my class next Tuesday. For...

Arrow projectile WILL NOT come out right.

Per Project Account Settings

$
0
0
I work in a couple teams and juggle some Unity licenses and it would be great to be able to open certain projects with certain accounts and their relevant licenses. E.g. I don't want to open a personal project with a seat license from an organization or vice versa.

Obviously I can just log in/out when need be, but it would be great to save the few seconds and reduce the possibility of forgetting to log out.

How to detect if some system shortcut is pressed?

$
0
0
I want my game have shortcuts.
But I don't want it to work when the input is mean to be system hotkey.

Library/StateCache Sharing Violation Error

$
0
0
I have had recurring issue where, if I start running the project in the editor, I will get the error shown below. It often won't come up at first, but after some time spent working it will come up again, often multiple times. I did some research on sharing violations and how others tend to fix them, but all of the examples I found were users fixing their own code. But the json file associated with this error is generated by unity, I have ever opened or interacted with directly. I am also...

Library/StateCache Sharing Violation Error

Can extra spaces actually change the effect of code?

$
0
0
So I was just following a tutorial on YouTube, and even though I could have sworn that I replicated a line of code exactly the same as in the video, it did not replicate the effect in the same video. So I stared at the original code and mine, and I realized that my code had an erroneous space at the start. So I removed it, and that seemed to fix the problem. However, I found the idea an extra space somewhere in a line of code could alter its result so drastically rather than shoot back an...

Can extra spaces actually change the effect of code?

[RELEASED] StampIT! Collection - 4K heightmaps for stamping

$
0
0
I've been creating demos for several publishers recently and needed various kinds of terrains. I thought I'd extend these projects a bit further and create some more terrains and put them on the Asset Store for you guys in case you have use for this. I called it StampIT! Collection. Those heightmaps are compatible with the Unity Terrain Tools, Atlas, Gaia, Map Magic, etc, i. e. assets that support the processing of heightmaps.

In short: The StampIT! Collection is a set of high...

[RELEASED] StampIT! Collection - 4K heightmaps for stamping

[RELEASED] World Building Bundle for MicroVerse

Normal from terraindata

$
0
0
Hi everyone,
I can't read the Normal of a terrain
Making a raycast I have the correct result, reading it from terraindata gives me an incorrect value.
I attach code and screenshots

In update :

Code (CSharp):
  1.         RaycastHit hit;
  2.         Ray raggio = Camera.main.ScreenPointToRay(Input.mousePosition);
  3.         Vector3 posiz = new Vector3(36f, 15f, 7f);
  4.         if (Physics.Raycast(posiz + (Vector3.up*5),Vector3.down, out hit, Mathf.Infinity, MyGLB_E.layer_Terreno))
  5.         {...
Normal from terraindata

[RELEASED] ContextCircleMenu - open menu your scene view

Can't turn on VSync on Android?

Migrating an older Unity project to Unity 2022.3.26f1 gives Build errors (Gradle)

$
0
0
I am trying to migrate an a project that was originally made in Unity 2021 to Unity 2022.3.26f1. The project doesn't have any script errors but there are some compile errors. I am new to Unity so I can't understand what's causing this error specifically. Based on my research, this problem seems close to Android Development.

I am using Firebase(AdMob), Facebook and PlayFab SDKs. I have re-imported all these SDKs again in the new project and my Force Resolve works fine. Initially I was...

Migrating an older Unity project to Unity 2022.3.26f1 gives Build errors (Gradle)

Attempting to open a Lense Flare (SRP) asset causes error

$
0
0
I was following a tutorial and immediately encountered this problem. If you try to add a lens flare (SRP) to the sun (a directional light), and then give it a Lens Flare (SRP) asset, you will get this error. This is easily reproducible in a brand-new URP project. The error occurs in both Unity 2022.3.7f1 and 2022.3.8f1.

After adding a Lens Flare (SRP) component on the directional light (the sun), you need to give it a Lens Flare (SRP) asset. However, once you do this, it is impossible to...

Attempting to open a Lense Flare (SRP) asset causes error

(Waiting For Soulmate) BioPeak

[EGL] Unable to create context

$
0
0
Hi everybody,
First thing I'm a novice about coding, I learn by myself 9 month ago so I'm really not strong ^^.

I have a game with google analytic installed and I get a lot of error report related to [EGL] like this :

. [EGL] Unable to create context!: EGL_BAD_CONTEXT: An EGLContext argument does not name a valid EGL rendering context.
. [EGL] Unable to acquire context: EGL_BAD_NATIVE_WINDOW: A NativeWindowType argument does not refer to a valid native window.
. [EGL] Unable to acquire...


[EGL] Unable to create context

unity 2021.3.5f1 not creating projects correctly

$
0
0
Hello all!

Im trying to use Marrow SDK for Bonelab however its having complications I think due to me attempting to use it on the latest Unity release
According to the official guide and wiki the Marrow SDK should be used on release 2021.3.5f1. So I've downloaded it and it installed just fine no issues, however when attempting to make a project it buffers, doesn't launch the project, doesn't even create a new folder for the project, yet a new project listed as using 2021.3.5f1 appears in...

unity 2021.3.5f1 not creating projects correctly

VFX Graph Local transform problem in Prefabs, need help (been at it for weeks)

$
0
0
I found that the problem is my TRAIL system. Everything before the GPU event TRAIL system works as intended. I can see the particles at the right position if i dont look at the trail. I just cant get the trail to work inside a prefab.

Before i just had the VFX at 0,0,0 in the world and the player transform as a trail target (where the trails want to go) That worked but not when using it on multiply players. So i want to move this into a prefab and still get the target to work. But i cant...

VFX Graph Local transform problem in Prefabs, need help (been at it for weeks)

Unity is adding a new "DXC" HLSL compiler backend option

$
0
0
Hey! So Unity has been using Microsoft's "FXC" HLSL compiler (plus our own HLSLcc when targeting Vulkan/Metal/OpenGL) for years. However FXC has a bunch of issues, like no support for some modern GPU features, extremely slow compile times for some shaders, and so on.

Over the past year we've been chipping away at integrating Microsoft's "new" HLSL compiler, called "DXC". Right now in 2021.2 alpha builds it kinda mostly...

Unity is adding a new "DXC" HLSL compiler backend option

[RELEASED] Ultimate Stamp Bundle for GAIA - Best of 2024

ActivateAsync, LoadAssetAssync Stutter

$
0
0
Any plans on making Scene.ActivateAsync or LoadAssetAssync stutterless? From all the testing I've done it seems to be purely related to the size of scene or prefab that you load. Doesn't mater if objects are disabled or without scripts - it will still stutter. making loading in larger worlds without loading screen impossible. The only viable option I've found is to split scene into 1000s of prefabs and load them in using addressables + instantiate which is a huge development bottleneck.

Head scale constraint?

$
0
0
I'm trying to create an avatar with third person view for desktop VRChat and I've run into an issue: the head is missing in game. I've watched tutorials, searched online, and even got an avatar on booth to look at to see how they made it work but nothing has worked for me. I started by simply moving the view point to achieve third person and it worked well enough except for the missing head problem. Then I tried gogo loco instead. It has third person as a feature and there are other avatars...

Head scale constraint?

First time using NGO, confused on how to use Network Prefabs for 2 different apps

$
0
0
So all the examples I see, people are using multiple instances the same Unity app, but I am trying to setup this to work, whereas the Server and the Client are different apps. Currently how I tried it I get "Failed to to create object locally" and "Failed to spawn networkobject for hash 1225512512"

So my questions are, 1) Are their any tutorials of this somewhere? 2) On the client side, do I need to register the "Network Prehabs", I am assuming I need to have a similar scene setup on on...

First time using NGO, confused on how to use Network Prefabs for 2 different apps

Android TV App Icon support


looking for any resources to develop GTA1 Remastered Open Source

Why does my Readyplayerme avatar change appearance when an android build is selected?

$
0
0
View attachment 1405404 View attachment 1405407 View attachment 1405410
Hi :)

I'm using a Readyplayerme avatar in my app. When I select Windows build it looks normal (please see images), but when I select android build, it turns shiny/metallic. I need to build for android as the app is for a Meta Quest 3 VR headset. Any help on how I can solve this would be greatly appreciated.

Also shown is the Inspector for the Material/Shader used for the avatar (this is when using the android build...

Why does my Readyplayerme avatar change appearance when an android build is selected?

Ajman Call #Girls 0505721407 Independent Call #Girls in Ajman

$
0
0
Ajman Call #Girls 0505721407 Independent Call #Girls in Ajman
Call/Whatsapp:- +971528602408 Call #Girls in Ajman, Ajman Call #Girls Service, Indian Call #Girls in Ajman, Pakistani Call #Girls in Ajman, Independent Call #Girls in Ajman, Cheap Call #Girls in Ajman, Russian Call #Girls in Ajman, Hot Ajman Call #Girls
If you are in Ajman and looking for Call #Girls for enjoyment. Don’t book anyone blindly. Check whether they are genuine or not. As compared to other Call #Girls. We have a...

Ajman Call #Girls 0505721407 Independent Call #Girls in Ajman

Maestro Midi Player Tool Kit - Good news for your rhythm game !

ARFoundation Camera Not Working With OculusXR & URP

$
0
0
When I ran the same default config with OpenXR plugin instead of Oculus it was ok, however, I need to use some of Oculus specific features (e.g haptics) and those are not working when building with OpenXR checked with the Meta features enabled, but only working for building with Oculus checked.
Therefore, I had to build with Oculus plugin, but when I do so, no matter what I've tried and which config I tried, I always get a black screen and not getting passthrough.
Any ideas why would that...

ARFoundation Camera Not Working With OculusXR & URP

How to remove Google Ads - Admob from unity project completely?

$
0
0
Hi I deleted Admob folder and google ads folder from the project and restarted the project.So that i could add other ad packages.What is happening is when I hit forced resolve(I need to do this for other packages) external dependency manager will add google ad libraries again in the plugins folder.When I take build the app crashes saying not added android id in google ads.I don't want external dependency manager to download files in Plugins>Android folder.How is this happening even if i...

How to remove Google Ads - Admob from unity project completely?

Ajman Call #Girls 0525373611 Indian Call #Girls in Ajman

$
0
0
Ajman Call #Girls 0525373611 Indian Call #Girls in Ajman
Call/Whatsapp:- +971528602408 Call #Girls in Ajman, Ajman Call #Girls Service, Indian Call #Girls in Ajman, Pakistani Call #Girls in Ajman, Independent Call #Girls in Ajman, Cheap Call #Girls in Ajman, Russian Call #Girls in Ajman, Hot Ajman Call #Girls
If you are in Ajman and looking for Call #Girls for enjoyment. Don’t book anyone blindly. Check whether they are genuine or not. As compared to other Call #Girls. We have a separate...

Ajman Call #Girls 0525373611 Indian Call #Girls in Ajman

Ajman Call #Girls 0525382202 Pakistani Call #Girls in Ajman

$
0
0
Ajman Call #Girls 0525382202 Pakistani Call #Girls in Ajman
Call/Whatsapp:- +971528602408 Call #Girls in Ajman, Ajman Call #Girls Service, Indian Call #Girls in Ajman, Pakistani Call #Girls in Ajman, Independent Call #Girls in Ajman, Cheap Call #Girls in Ajman, Russian Call #Girls in Ajman, Hot Ajman Call #Girls
If you are in Ajman and looking for Call #Girls for enjoyment. Don’t book anyone blindly. Check whether they are genuine or not. As compared to other Call #Girls. We have a separate...

Ajman Call #Girls 0525382202 Pakistani Call #Girls in Ajman




Latest Images