PhotonView.Find() help needed!
Hello all I have an OnPlayerPropertiesUpdate() function, and I wanted to loop through a list that stored some photon view viewIDs of game objects in the scene. However, when I loop through the list and...
View Article,ArgumentOutOfRangeException: Index was out of range.
Error Message: ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index ` using System.Collections.Generic; using...
View Articleerror CS1519: Invalid token 'void' in class, record, struct, or interface...
, using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using TMPro; using UnityEngine.Audio; public class OptionsScreen : MonoBehaviour { [Header("Volume...
View Articlemlagent hyperparameter config.yaml file error.
I try to adjust hyperparameter by create trainer_config.yaml file. Detail is here ` behaviors: EscapeRoom: trainer_type: ppo hyperparameters: batch_size: 2048 buffer_size: 20480 learning_rate: 0.0003...
View ArticleI keep getting the error CS0103
I can't find the issue, it keeps telling me "error CS0103: the name 'input' does not exist in the current context" I get this error at (27,17) and (28,17) I'm still new sorry if the code is not very...
View ArticleError: CS8803 I'm new to making videogames in unity, but recently I got this...
https://www.youtube.com/watch?v=kLEhqRDVjgI,https://www.youtube.com/watch?v=kLEhqRDVjgI { private SpriteRenderer spriterenderer; public new Camera camera; void start() { spriterenderer =...
View Article;ProjectBindRedirectPopupWindow does not exist in the current context'
I opened my game project today and got the error: Library\PackageCache\com.unity.services.core@1.4.2\Editor\Core\EditorGameService\ServiceInstallationListener.cs(58,21): error CS0103: The name...
View ArticleSo i was coding a multiplayer game and 2 errors showed up: CS0101 and...
using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class NetworkManagerUI : MonoBehaviour { [SerializeField] private Button ServerBtn;...
View ArticleKeep getting errors when trying to implement UI values in my AR project. I...
I want to know if I need to add GPS location to my AR project another way...
View Articleerror CS0201: Only assignment, call, increment, decrement, await, and new...
Hello, I am new to unity and c# so I'm having a problem solving this error. I was trying to make the score go up by 1 every time the player collects a coin but I keep getting an error called this:...
View Article,how do I fix this error
This is my Code: using System.Collections; using System.Collections.Generic; using UnityEngine; public class ShopSystem : MonoBehaviour { public int money; public int wechsel; public GameObject Text2;...
View ArticleWebGL Build Errors with Version 2021.3.15f1
So far I'm trying to do the Bonus challenges for the Unity Learn courses, such as the "Mod the Cube" Challenge. yet unfortunately it seems I keep getting 4-5 errors with each attempt to create a WebGL...
View Article'ArcGISBasemap' does not contain a definition for 'CreateImagery'
using Esri.ArcGISMapsSDK.Components; using Esri.ArcGISMapsSDK.Samples.Components; using Esri.ArcGISMapsSDK.Utils.GeoCoord; using Esri.GameEngine.Extent; using Esri.GameEngine.Geometry; using...
View Articlewhat is my problem here (again)
can someone please help me with this error Assets/Scripts/camera_motor.cs(11,18): error CS1519: Invalid token ':' in class, record, struct, or interface member declaration This is my code private void...
View ArticleI have a error and I've tried everything can't find anything wrong
The error's: Assets/Scripts/camera_motor.cs(32,36): error CS1026: ) expected Assets/Scripts/camera_motor.cs(32,57): error CS1002: ; expected Assets/Scripts/camera_motor.cs(32,57): error CS1513: }...
View ArticleResolving Android dependencies fails
Every time I try to resolve the android dependencies it fails with this error ![alt text][1] **Win32Exception:...
View ArticleMy Script is getting these 2 errors plz help.
Error 1:Assets\Dialogue Manager.cs(8,22): error CS1002: ; expected Error 2:Assets\Dialogue Manager.cs(8,25): error CS1519: Invalid token ';' in class, record, struct, or interface member declaration. I...
View ArticleAssets\OVR\Scripts\OVRDisplay.cs(244,1) Error CS1022: Type or namespace...
Why do i get this message? can you help? please. this is my script. /************************************************************************************ Copyright : Copyright 2014 Oculus VR, LLC. All...
View Articlegetting unity error CS1513 with all brackets closed
When I try to make an extra condition on my if statement using a public bool from another script, I get Assets\PipeMiddleScript.cs(22,151): error CS1513: } expected. Here is the code: using...
View ArticleMy code is making an "Index was outside of the bounds of the array" error...
I'm pretty new to C# so it might be something stupid but here is the code Instantiate(enemy, spawnPoints[Random.Range(1, spawnPoints.Length)].position, Quaternion.identity);
View Article