Post

Replies

Boosts

Views

Activity

Fetch/Querying working on dashboard but not on app
I have a simple record called UserCode, the name of the record is created by each user entering the app for first time creating an alphanumeric random string of 8 letters. When I try to query, or fetch this record FROM THE APP it simply gives me error 11 (not exists) or records.length==0 if i try to query. If i do it from the dashboard all fine, i can query and fetch. The name of the record is set as searchable, also tried with queryable. Nothing works. The icloud account I use in the app is the same one as the dasboard. All permissions are open for that record, except world write. Any explantion or sollution? i've been 2 days around this and i cant find a way.
0
0
821
Jan ’23
Game Kit exception when trying to fetch leaderboards
I'm using Unity 2020.3.33 and an external asset too update and fetch leaderboards, when I replaced the code to use the unity one I see that crashes when fetching leaderboards. Authentication works fine but this happens when I try to fetch my leaderboards: Code: var leaderboards = await GKLeaderboard.LoadLeaderboards(GameCenter.LeaderBoards.Age.ToString()); Stack:  Default constructor not found for type Apple.Core.Runtime.NSMutableArrayString  StackTrace: at System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic) [0x00000] in <00000000000000000000000000000000>:0  at System.RuntimeType.CreateInstanceSlow (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00000] in <00000000000000000000000000000000>:0  at System.RuntimeType.CreateInstanceDefaultCtor (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00000] in <00000000000000000000000000000000>:0  at System.Activator.CreateInstance[T] () [0x00000] in <00000000000000000000000000000000>:0  at Apple.Core.Runtime.ReflectionUtility.CreateInstanceOrDefault[T] (System.IntPtr pointer) [0x00000] in <00000000000000000000000000000000>:0 at Apple.Core.Runtime.NSMutableArrayFactory.Init[TBase,TElement] () [0x00000] in <00000000000000000000000000000000>:0  at Apple.GameKit.Leaderboards.GKLeaderboard.LoadLeaderboards (System.String[] identifiers) [0x00000] in <00000000000000000000000000000000>:0  at UIGovHighscore+d__34.MoveNext () [0x00000] in <00000000000000000000000000000000>:0  at System.Runtime.CompilerServices.AsyncVoidMethodBuilder.Start[TStateMachine] (TStateMachine& stateMachine) [0x00000] in <00000000000000000000000000000000>:0  at UIGovHighscore.ReadResidentRankV2New () [0x00000] in <00000000000000000000000000000000>:0
1
0
1.8k
Aug ’22
QuotaExceeded error questions
Hello people. I've been giving my CloudKit game for testing to some dozens of users. The save file is being saved in their Private Database. (approximately 100KB). One of them got on first run the cloudKit exception 25 (QuotaExceeded) which means the user's iCloud was full so the first record was not created in the users private database. This happened on the first attempt to run the game, so I will probably instruct to save into the Public Database. But my question is.... is it possible that this error pops up AFTER I created the first record? I mean... could my game run perfectly for x time and then, if the user fills the iCloud space with other stuff... one day get QuotaExceeded and stop working? Thanks a lot.
1
0
818
Dec ’21
Do bots/testers open my app when uploading to TestFlight?
I'm receiving exceptions and user reports from devices that don't belong to my testers. One of them even has the Chinese language set in it. Another thing is they dont seem to have any iCloud account set up so it makes me think its an emulator of some type. Is it possible these reports are coming from any TestFlight bot or tester ? Or should I start to worry of who's having access to my app? Thanks
0
0
832
Nov ’21
Fetch/Querying working on dashboard but not on app
I have a simple record called UserCode, the name of the record is created by each user entering the app for first time creating an alphanumeric random string of 8 letters. When I try to query, or fetch this record FROM THE APP it simply gives me error 11 (not exists) or records.length==0 if i try to query. If i do it from the dashboard all fine, i can query and fetch. The name of the record is set as searchable, also tried with queryable. Nothing works. The icloud account I use in the app is the same one as the dasboard. All permissions are open for that record, except world write. Any explantion or sollution? i've been 2 days around this and i cant find a way.
Replies
0
Boosts
0
Views
821
Activity
Jan ’23
GameKit bug: Default constructor not found for type Apple.Core.Runtime.NSMutableArrayString
When trying to fetch the leaderboards we get this exception. Default constructor not found for type Apple.Core.Runtime.NSMutableArrayString. Please help
Replies
1
Boosts
0
Views
1.6k
Activity
Aug ’22
Game Kit exception when trying to fetch leaderboards
I'm using Unity 2020.3.33 and an external asset too update and fetch leaderboards, when I replaced the code to use the unity one I see that crashes when fetching leaderboards. Authentication works fine but this happens when I try to fetch my leaderboards: Code: var leaderboards = await GKLeaderboard.LoadLeaderboards(GameCenter.LeaderBoards.Age.ToString()); Stack:  Default constructor not found for type Apple.Core.Runtime.NSMutableArrayString  StackTrace: at System.RuntimeType.CreateInstanceMono (System.Boolean nonPublic) [0x00000] in <00000000000000000000000000000000>:0  at System.RuntimeType.CreateInstanceSlow (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00000] in <00000000000000000000000000000000>:0  at System.RuntimeType.CreateInstanceDefaultCtor (System.Boolean publicOnly, System.Boolean skipCheckThis, System.Boolean fillCache, System.Threading.StackCrawlMark& stackMark) [0x00000] in <00000000000000000000000000000000>:0  at System.Activator.CreateInstance[T] () [0x00000] in <00000000000000000000000000000000>:0  at Apple.Core.Runtime.ReflectionUtility.CreateInstanceOrDefault[T] (System.IntPtr pointer) [0x00000] in <00000000000000000000000000000000>:0 at Apple.Core.Runtime.NSMutableArrayFactory.Init[TBase,TElement] () [0x00000] in <00000000000000000000000000000000>:0  at Apple.GameKit.Leaderboards.GKLeaderboard.LoadLeaderboards (System.String[] identifiers) [0x00000] in <00000000000000000000000000000000>:0  at UIGovHighscore+d__34.MoveNext () [0x00000] in <00000000000000000000000000000000>:0  at System.Runtime.CompilerServices.AsyncVoidMethodBuilder.Start[TStateMachine] (TStateMachine& stateMachine) [0x00000] in <00000000000000000000000000000000>:0  at UIGovHighscore.ReadResidentRankV2New () [0x00000] in <00000000000000000000000000000000>:0
Replies
1
Boosts
0
Views
1.8k
Activity
Aug ’22
QuotaExceeded error questions
Hello people. I've been giving my CloudKit game for testing to some dozens of users. The save file is being saved in their Private Database. (approximately 100KB). One of them got on first run the cloudKit exception 25 (QuotaExceeded) which means the user's iCloud was full so the first record was not created in the users private database. This happened on the first attempt to run the game, so I will probably instruct to save into the Public Database. But my question is.... is it possible that this error pops up AFTER I created the first record? I mean... could my game run perfectly for x time and then, if the user fills the iCloud space with other stuff... one day get QuotaExceeded and stop working? Thanks a lot.
Replies
1
Boosts
0
Views
818
Activity
Dec ’21
Do bots/testers open my app when uploading to TestFlight?
I'm receiving exceptions and user reports from devices that don't belong to my testers. One of them even has the Chinese language set in it. Another thing is they dont seem to have any iCloud account set up so it makes me think its an emulator of some type. Is it possible these reports are coming from any TestFlight bot or tester ? Or should I start to worry of who's having access to my app? Thanks
Replies
0
Boosts
0
Views
832
Activity
Nov ’21