Skip to main content

Posts

Showing posts with the label error

Your app includes non compliant SDK version - version code 2 includes SDK com.unity3d.ads:unity-ads

Your app includes non compliant SDK version Your app com.ibnesina.animalscoloringgame version code 2 includes SDK com.unity3d.ads:unity-ads or an SDK that one of your libraries depends on, which collects personal or sensitive data that includes but may not be limited to Advertising ID, Android ID identifiers. Persistent device identifiers may not be linked to other personal and sensitive user data or resettable device identifiers as described in the User Data policy. Starting from January 11, 2023 midnight (UTC), new app releases containing the SDK version(s) that do not comply with the User Data policy may be blocked from release. You may consider upgrading to a policy-compliant version of this SDK that does not include the violating code if available from your SDK provider, or removing this SDK from your app. According to your SDK provider, you may consider upgrading to 4.0.1, and/or contacting your SDK provider to see if a suitable later version might be available. Google is unab...

Preprocessor directives must appear as the first non-whitespace character on a line

 Preprocessor directives must appear as the first non-whitespace character on a line Here are some solutions collected. 1. event, you must have a method with the same name declared in the code behind page like below, protected void #btnLogin_Click(object sender, EventArgs e) { } But in C# cs files, as the  error  explains preprocessor directives ( # ) must appear as the first non-whitespace character that's why the error happens. Solution would be to adhere to proper naming conventions. See  here . 2. Preprocessor directives start with  # . You have a trailing  #  in line 10. It looks like you use Visual Studio which should mark the line in red. Also the error should tell you which line looks wrong. Edit: You probably just opened the file in Visual Studio, which will not load any assemblies. Please open your C# project from Unity, right-click in the project explorer and choose "open C# project" or similar Honestly this post should be removed for low ...

No countries or regions have been selected for this track. Add at least one country or region to roll out this release.

Fix error: No countries or regions have been selected for this track. Add at least one country or region to roll out this release.     solution: Go to: Production > Countries / Regions Then add the countries you want.   Watch video:     .

Project folder or disk is read only | Please move project somewhere readable and writable

 Before going to waste the time try "Run as administrator"  It it works fine, then please subscribe my blog :) Other wise try other solution and then subscribe my blog :) :) Other Solutions: Check windows defender virus and threat setting and uncheck controlled folder access.  Put your project folder to some public folders, like document, desktop, etc Please comment if any of these worked for Keep following unity3diy

error CS0104: 'Hashtable' is an ambiguous reference between 'ExitGames.Client.Photon.Hashtable' and 'System.Collections.Hashtable'

error CS0104: 'Hashtable' is an ambiguous reference between 'ExitGames.Client.Photon.Hashtable' and 'System.Collections.Hashtable' It was a super easy. Currently on line 17 in LoadbalancingPeer.cs there is a bunch of unity versions like: #if UNITY_4_0 || UNITY_4_1 || UNITY_4_2 || UNITY_4_3 || UNITY_4_4 etc... All you need to do is add UNITY_2018 to the end and that solve the error. Adding 2018 can solve you issue. Please comment if you are having other errors too. See also: Free Unity Game Assets -The 54 Best Websites To Download

This release is not compliant with the google play 64-bit requirement unity - Solved

this release is not compliant with the google play 64-bit requirements unity Beginning August 1, 2019, your apps published on Google Play will demand to support 64-bit architectures . 64-bit CPUs achieve faster, richer experiences for your users. Combining a 64-bit version of your app gives performance improvements, makes way for future discovery, and sets you up for devices with 64-bit-only device. The following APKs or App Bundles are available to 64-bit devices, but they only have 32-bit native code: 2. Google play console will show you this error. if there are any issues related to the 64-bit requirement. Here's an example: Solution: The solution is to turn off support for x86 devices in your Target Architectures. I was able to publish my app after uncheking x86 support. Try this, if it work for you then please comment and share my post. Thanks

The name `Profiler' does not exist in the current context [Solved]

Unity upgrades come with more features and ease where it also bring problem for some indie as well as pro developer, Like this "profiler" error. Recently i moved my older unity project to latest unity 5.5 and see this error. The name `Profiler' does not exist in the current context    The simple solution for this error is to add this class >  using  UnityEngine . Profiling ; and everything will work fine.   Thats it :) Keep supporting us :) there is a support button on top. See Also: Your android debug keystore file is missing [FIX]

NullReferenceException: Object reference not set to an instance of an object

NullReferenceException: Object reference not set to an instance of an object This Exception occurs in Unity whenever you try to access a variable that is not initialized or does not refer to any object. For example when you create a GameObject variable in a script, by default it does not refer to anything. To assign a value to that GameObject variable you have to make it equal to some value before using it. Example: <?phpPublic GameObject myObject; void Awake(){ myObject = someObject; } You can either set myObject in code as shownin example above, or through inspector as it is a public object (refer to image below). This exception can also occur while trying to instantiate and object for same reason. For Example: Instantiate(myObject,new Vector3.zero,Quaternion.Identity); This might give NullReferenceException if myObject variable refers to nothing. This Exception will also occur if you are trying to access a member function of uninitialized object. For Example...

Failed to import package with error: Couldn't decompress package

Failed to import package with error: Couldn't decompress package Before going to my method, Check all these things. Have you downloaded complete package? Have you got enough disk space? If you are using Chinese windows xp, don't put the package under a folder whose name includes Chinese character. My method: I was trying to import package with the name "FunCar Kit V2.0 – Mobile Update v2.0.unitypackage" i just renamed this package to   "FunCar.unitypackage" and problem solved :). Try this and tell me in comments below!

Error building Player: Win32Exception: zipalign.exe in Unity3d [FIXED]

Recently i was getting this error in one of my game, But unable to figure out where the problem is but after searching lots of site, finally got the solution on stackoveflow and that was simply 1 minute solution you wont believe. They error was this Error building Player: Win32Exception: Error building Player: Win32Exception: ApplicationName='C:/Users/craiglerr/Desktop/adt-bundle-windows-x86_64-20140624/sdk\tools\zipalign.exe', CommandLine='4 "C:\Users\craiglerr\Desktop\Game\Temp/StagingArea/Package_unaligned.apk" "C:\Users\craiglerr\Desktop\Game\Temp/StagingArea/Package.apk"', CurrentDirectory='Temp/StagingArea' Soulution: Just goto your Android SDK folder Go to build-tools and select a version (e.g.build-tools\22.0.1) Copy zipalign.exe Go back to build-tools Go into tools Paste zipalign.exe That's it! Now build game and Error building Player: Win32Exception: zipalign.exe in Unity will never come a...

Unity Web Player Chrome Not Working !Yes Google Killed It

Google Chrome version 42 was recently launched and they disables supporting for any Unity Web Player, Completly removed it Unity Web Player Chrome Not Working Chrome carries a huge competitiveness total, which range from 25-50% based on whatever source you are examining. What unity blog said about it! With Google about to complete the deprecation of NPAPI assistance in their Chrome browser, we’ve been receiving many questions regarding exactly what the ideal alternatives are for publishing games on the web and achieving Chrome users at the same time. With Chrome’s broad usage, these are fair questions So what exactly should I do whether my game requires the Web Player? In case your current game needs the Web Player to work properly (specifically for people using advanced high performance games), here’s a few recommendations of what can be done within the meantime: Option A : motivate gamers to make use of alternate web browser where unity plugins are still wor...

Android SDK installation issue - Peer not authenticated [Fix]

This problem happens when you try to access internet from inside proxy server. The easiest way to get rid of this problem is to change the default HTTPS into HTTP from Android SDK manager settings. Just goto Tool >  options >  tick Force https://... sources to be fetched using http://...