76,990 questions
1
vote
1
answer
137
views
Is it possible to write a custom library using the Vuforia and Unity-PassthroughCameraAPI for Meta Quest
Hello all and sorry if my question sounds stupid, I have zero experience in ML, Image Processing, and Object Recognition.
Since Vuforia doesn't officially support Meta Quest devices as of today, I was ...
0
votes
1
answer
49
views
ARFoundation and Back Camera support
I set up a basic example project complete with VideoStats objects to properly scale the camera feed being streamed to it's source resolution. I also only stream the back camera of the phone ...
1
vote
1
answer
158
views
How to maintain intervals when shooting projectiles on the move?
I'm making an airplane shooting arcade game with a top-down view like the 1942 game.
The player's airplane continuously shoots bullets at a constant speed, but when the player moves back and forth ...
0
votes
1
answer
101
views
New Input system error: GetComponent requires that the requested component 'PlayerInput' derives from MonoBehaviour or Component or is an interface
I have looked at other posts about this topic, but I do not know how to find whether or not PlayerInput is referencing something else. When I hover over it with my mouse, it shows this:
"Provides ...
0
votes
0
answers
56
views
Game crash on android Huawei devices at PlaystoreController.OnSavedGameOpenedForWrite
I’m developing my game on Android with Crashlytic integrated (Unity). There is a specific crash on Huawei devices that I can’t get any ideas why it happens. Here is its tracklog:
Fatal Exception: java....
0
votes
0
answers
49
views
Why does Collider stay at the same position, but Mesh changes it's position after baking?
I'm working on a world baking system in Unity that combines meshes and generates optimized colliders. After running my baking script, I'm noticing an inconsistency between the mesh position and ...
0
votes
1
answer
64
views
Raycast only collides with terrain, it gives a position directly infront of my ingame vehicle if I look at anything that's not terrain. (unity)
My original problem was that the raycast system I was using to get my turret to aim at where my camera was pointing failed to function when aiming at enemies or the sky, it would aim at the ground ...
0
votes
0
answers
50
views
Struggling with Unity source code import due to conflictions with Newtonsoft Json
I'm fairly unfamiliar with Unity and this is the first time I have tried to import a project via someone else's source code. I have had a consistent issue regarding Newtonsoft Json, a Unity package ...
2
votes
1
answer
46
views
Unity script to set mass based on mesh size runs OK in editor but does not run in build
I'm making a game in Unity 6 that involves (Rigid Body) asteroids floating in space, and I need the mass of an asteroid to update based on its mesh size. So, I attached the following script to all of ...
0
votes
0
answers
71
views
Meta Quest 2 app crashes on launch after installing Meta XR Core SDK (Unity on macOS M2)
I am new to developing for the Meta Quest and am running into some issues when just trying to build a simple Hello World application. To build the app, I followed the exact steps from this tutorial: ...
2
votes
0
answers
74
views
Convert Unity XrCpuImage Coordinates to Viewport Coordinates for Android AR Foundation
I am trying to detect paper edges with a camera using my opencv c++ plugin in unity. The plugin I wrote detects the corner pixel coordinates seamlessly, I tested it all over, so that should not be the ...
1
vote
0
answers
65
views
How do I apply yaw and pitch to a direction vector relative to a stable local coordinate system in Unity?
I'm working on a VR game in Unity using tracked hand controllers. I have a rocket-hand mechanic where the left hand launches forward and the player can steer it by tilting or twisting their hand (i.e.,...
1
vote
1
answer
120
views
Having issues with Play Asset Delivery
I’m trying to use Play Asset Delivery with the following setup:
Unity version: 2022.3.13f1
Play Asset Delivery: 1.9.5 (GitHub link)
Addressables: 1.21.21
I’m currently testing On Demand asset pack ...
-4
votes
2
answers
81
views
Menu issues, how do I make it start Off? [closed]
A friend has given me some code which toggle on and off a menu, and he didn't consider the fact it needs to start off (start invisible).
I am using Unity (C#).
Here is the code, any input would be ...
-2
votes
3
answers
128
views
Why do I need to specify element => element when iterating over an !array.Exists conditional statement?
Just starting to learn and grasp C# and apologies if this has been asked somewhere but I've been looking for a couple hours and can't quite understand why I need to specify the syntax in the latter ...
1
vote
0
answers
62
views
Smooth per-pixel motion vectors relative to camera
I have searched the existing questions on my issue but could not find anything that helped me. I hope I didn’t miss anything, but if I did, please point me to it.
I have a problem with calculating ...
0
votes
1
answer
187
views
No such module 'UnityFramework' ,Getting this message updating Xcode to latest version
After the update of the Xcode to latest version, I’m getting “No Such Module Unity Framework” as error. the complete information is below.
I had to update the Xcode and the O.S as per the Apple ...
0
votes
0
answers
31
views
Camera Rotation Issue: Camera moves when using joystick
I’m developing mobile controls for my game, but I’ve encountered a problem when implementing camera rotation using a sensor.
The point is that when I move the joystick (character control), the camera ...
0
votes
0
answers
56
views
Unity and MetaQuest: running automated test on MetaQuestSimulator
I am trying to create and run an automated playmode test for MetaQuest using Unity 6.1.
The condition is that I do not have a MetaQuest, so I want to emulated it.
For this, I decided to use the ...
0
votes
0
answers
140
views
BUG/ISSUE Addressables + Play Asset Delivery (Fast-Follow) Not Loading Scene Offline in Unity 6
Unity Version: 6000.0.47 (Unity 6)
Addressables Version: Latest (shipped with Unity 6)
Platform: Android
Play Asset Delivery (PAD): Enabled with Fast Follow and On Demand groups
Distribution Method: ...
0
votes
0
answers
47
views
Problem with focus on close targets using iOS Wide angle lens
Using Vuforia Unity 10.28.4.
When using an iPhone13 Pro, it defaults to using the wide angle lens. This makes any close up targets out of focus. It doesn't swap to use the ultra wide (which the iPhone ...
1
vote
0
answers
37
views
BuildPhases Order in Unity PostProcessBuild
I’m using Unity 2022.3 LTS with Xcode 16.3.
My PostProcessBuild script adds a Notification Service Extension like this:
var extGuid = proj.AddAppExtension(
mainGuid,
"NotificationService&...
0
votes
0
answers
79
views
Wrong color space of infered image in Unity
I'm having a hard time infering an image from a camera in Unity to an ONNX using a render Texture. I realized that the output from the ONNX inferenced with Barracuda is significantly different from ...
0
votes
0
answers
68
views
Unable to Load Build Created Spatial Anchors in the Unity Editor
I’m building a Unity XR app for Quest 3 that populates GameObjects via a PC API: in the Editor I populate my environment with game objects, serialize them to JSON, then load that JSON in my Quest ...
0
votes
0
answers
29
views
Using Ironsource rewarded video together with No Ads Purchase in unity
I have a rewarded video ad which one can choose to watch for additional resources. I also have a no-ads purchase to remove all ads from the app. This purchase should also remove the need to watch the ...