Search Unity

  1. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Unity Ads working within unity editor, but not on Xcode/ Test Flight

Discussion in 'Unity Ads & User Acquisition' started by unity_474F211C1A4DB76D01C1, Oct 21, 2023.

  1. unity_474F211C1A4DB76D01C1

    unity_474F211C1A4DB76D01C1

    Joined:
    Nov 6, 2021
    Posts:
    2
    Hello!

    I am relatively new so please forgive me if its an easy fix.

    I have created a game whereby when the user respawns an an ad will show every fourth respawn, on unity and unity remote it works without issue, but when its built to Xcode the ads don't work, neither do they work on test flight. Within the Xcode debugger I get the below output. Sorry if it's not all required I'm just not sure what is relevant. Every time I die/ respawn I get a fresh reiteration of the last few paragraphs which don't seem to relate to ads.

    Any help would be hugely appreciated!

    Also, there are no issues within unity, however upon export to Xcode around eighty warnings appear.

    Thank you!

    Josh




    2023-10-21 01:53:03.561960+0100 ImpossiBall[17144:3108483] UnityIAP UnityEarlyTransactionObserver: Created

    2023-10-21 01:53:03.563628+0100 ImpossiBall[17144:3108483] UnityIAP UnityEarlyTransactionObserver: Registered for lifecycle events

    2023-10-21 01:53:03.915378+0100 ImpossiBall[17144:3108483] Built from '2023.1/staging' branch, Version '2023.1.16f1 (e5ad54273a6f)', Build type 'Release', Scripting Backend 'il2cpp'

    2023-10-21 01:53:03.916254+0100 ImpossiBall[17144:3108483] MemoryManager: Using 'Default' Allocator.

    [UnityMemory] Configuration Parameters - Can be set up in boot.config

    "memorysetup-allocator-temp-initial-block-size-main=262144"

    "memorysetup-allocator-temp-initial-block-size-worker=262144"

    "memorysetup-bucket-allocator-granularity=16"

    "memorysetup-bucket-allocator-bucket-count=8"

    "memorysetup-bucket-allocator-block-size=4194304"

    "memorysetup-bucket-allocator-block-count=1"

    "memorysetup-main-allocator-block-size=16777216"

    "memorysetup-thread-allocator-block-size=16777216"

    "memorysetup-gfx-main-allocator-block-size=16777216"

    "memorysetup-gfx-thread-allocator-block-size=16777216"

    "memorysetup-cache-allocator-block-size=4194304"

    "memorysetup-typetree-allocator-block-size=2097152"

    "memorysetup-profiler-bucket-allocator-granularity=16"

    "memorysetup-profiler-bucket-allocator-bucket-count=8"

    "memorysetup-profiler-bucket-allocator-block-size=4194304"

    "memorysetup-profiler-bucket-allocator-block-count=1"

    "memorysetup-profiler-allocator-block-size=16777216"

    "memorysetup-profiler-editor-allocator-block-size=1048576"

    "memorysetup-temp-allocator-size-main=4194304"

    "memorysetup-job-temp-allocator-block-size=2097152"

    "memorysetup-job-temp-allocator-block-size-background=1048576"

    "memorysetup-job-temp-allocator-reduction-small-platforms=262144"

    "memorysetup-temp-allocator-size-background-worker=32768"

    "memorysetup-temp-allocator-size-job-worker=262144"

    "memorysetup-temp-allocator-size-preload-manager=262144"

    "memorysetup-temp-allocator-size-nav-mesh-worker=65536"

    "memorysetup-temp-allocator-size-audio-worker=65536"

    "memorysetup-temp-allocator-size-cloud-worker=32768"

    "memorysetup-temp-allocator-size-gfx=262144"

    -> applicationDidFinishLaunching()

    [Physics::Module] Initialized MultithreadedJobDispatcher with 5 workers.

    2023-10-21 01:53:05.583501+0100 ImpossiBall[17144:3108483] UnityIAP UnityEarlyTransactionObserver: Added to the payment queue

    [Subsystems] Discovering subsystems at path /private/var/containers/Bundle/Application/1BA6BB08-6048-4D68-A1A4-3B145008D144/ImpossiBall.app/Data/UnitySubsystems

    GfxDevice: creating device client; threaded=1; jobified=0

    Initializing Metal device caps: Apple A12 GPU

    Initialize engine version: 2023.1.16f1 (e5ad54273a6f)

    New input system (experimental) initialized

    -> applicationDidBecomeActive()

    UnloadTime: 7.309542 ms

    2023-10-21 01:53:10.537017+0100 ImpossiBall[17144:3108483] UnityIAP: Requesting 1 products

    2023-10-21 01:53:10.578393+0100 ImpossiBall[17144:3108800] I/UnityAds: -[USRVInitializeStateConfig execute] (line:36) ::

    =============== USRVInitializeStateConfig =============

    2023-10-21 01:53:10.578491+0100 ImpossiBall[17144:3108800] I/UnityAds: -[USRVInitializeStateConfig executeLegacy] (line:41) ::

    =============== USRVInitializeStateConfig LEGACY FLOW =============

    2023-10-21 01:53:10.578522+0100 ImpossiBall[17144:3108800] I/UnityAds: -[USRVInitializeStateConfig executeLegacy] (line:42) :: Loading Configuration https://configv2.unityads.unity3d.com/webview/4.4.2/release/config.json?gameId=5436683

    2023-10-21 01:53:10.594026+0100 ImpossiBall[17144:3108483] UnityIAP: Requesting product data...

    2023-10-21 01:53:12.165513+0100 ImpossiBall[17144:3108800] I/UnityAds: -[USRVInitializeStateConfig executeLegacy] (line:52) :: Saving Configuration To Disk

    2023-10-21 01:53:12.219001+0100 ImpossiBall[17144:3108799] I/UnityAds: -[USRVInitializeStateLoadCache execute] (line:23) :: Unity Ads init: webapp loaded from local cache

    WARNING -> applicationDidReceiveMemoryWarning()

    2023-10-21 01:53:13.492252+0100 ImpossiBall[17144:3108799] UnityIAP: Received 1 products

    2023-10-21 01:53:13.692454+0100 ImpossiBall[17144:3108483] UnityIAP: Transaction 2000000434244328 not pending, nothing to finish here

    2023-10-21 01:53:13.692517+0100 ImpossiBall[17144:3108483] UnityIAP: Add transaction observer

    2023-10-21 01:53:13.694065+0100 ImpossiBall[17144:3108483] UnityIAP UnityEarlyTransactionObserver: Request to initiate queued payments

    Unloading 5 Unused Serialized files (Serialized files now loaded: 0)

    UnloadTime: 2.816416 ms

    Unloading 18 unused Assets to reduce memory usage. Loaded Objects now: 1164.

    Total: 6.366292 ms (FindLiveObjects: 0.039166 ms CreateObjectMapping: 0.024542 ms MarkObjects: 5.239167 ms DeleteObjects: 1.062750 ms)



    2023-10-21 01:53:14.739476+0100 ImpossiBall[17144:3108483] I/UnityAds: +[USRVApiSdk WebViewExposed_logInfo:callback:] (line:72) :: Requesting configuration from https://publisher-config.unityads.u...Oq4JRVAmtsChcPYoL_7aBaUeYROvVhhyTB3kX3N6PAQ==

    2023-10-21 01:53:14.862391+0100 ImpossiBall[17144:3108483] I/UnityAds: +[USRVApiSdk WebViewExposed_logInfo:callback:] (line:72) :: Received configuration for token eyJhbGciOiJIUzI1Ni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h1MFJEOHBVWHhpeHlta29LWFM0UlFuaGNIaEdTUT09IiwidGd0IjoxODMsInZnIjoiREZkYmNOeTNzODlraGlqeE1UYjg1dklUMjJ6dUxlbDZ0eEUvZG84dGV3MHNFTENrK1VSUVZXMHVjNmI4VWNkQ0lhTWRqQT09IiwidnIiOiJrQXZ5dnFURy9BQ0NMRHA5Y2xrZnc4cVlGbStoZHJBWW5qWGJMWXdVYzBCa3MwRVBDREFOOU4vRWlVL0Y3NmlOaTZlT1gvc3c3dEl3bnFPYVppTFJZQT09IiwieHByIjoxNjB9.6oqOalb1vxAYbpZQWSz78yEhoaHUkoDrYhjXf7rJqGc (A/B group 16)

    2023-10-21 01:53:14.887380+0100 ImpossiBall[17144:3108483] LTE

    2023-10-21 01:53:14.890406+0100 ImpossiBall[17144:3108483] LTE

    Initialization complete

    UnityEngine.Advertisements.Utilities.CoroutineExecutor:Update()



    2023-10-21 01:53:15.138461+0100 ImpossiBall[17144:3108483] I/UnityAds: +[USRVApiSdk WebViewExposed_logInfo:callback:] (line:72) :: Webview started using the latest version

    Unloading 3 Unused Serialized files (Serialized files now loaded: 0)

    UnloadTime: 1.922375 ms

    Unloading 8 unused Assets to reduce memory usage. Loaded Objects now: 1200.

    Total: 3.470583 ms (FindLiveObjects: 0.048541 ms CreateObjectMapping: 0.043250 ms MarkObjects: 3.340209 ms DeleteObjects: 0.037875 ms)



    Unloading 0 Unused Serialized files (Serialized files now loaded: 0)

    UnloadTime: 2.057542 ms

    Unloading 13 unused Assets to reduce memory usage. Loaded Objects now: 1200.

    Total: 4.824542 ms (FindLiveObjects: 0.090542 ms CreateObjectMapping: 0.039791 ms MarkObjects: 4.564584 ms DeleteObjects: 0.128834 ms)



    Unloading 0 Unused Serialized files (Serialized files now loaded: 0)

    UnloadTime: 6.299792 ms

    Unloading 13 unused Assets to reduce memory usage. Loaded Objects now: 1200.

    Total: 10.589584 ms (FindLiveObjects: 0.282083 ms CreateObjectMapping: 0.106708 ms MarkObjects: 10.028000 ms DeleteObjects: 0.171000 ms)



    Unloading 0 Unused Serialized files (Serialized files now loaded: 0)

    UnloadTime: 5.326083 ms

    Unloading 13 unused Assets to reduce memory usage. Loaded Objects now: 1200.

    Total: 10.563083 ms (FindLiveObjects: 0.241167 ms CreateObjectMapping: 0.107833 ms MarkObjects: 10.068000 ms DeleteObjects: 0.144583 ms)



    Unloading 0 Unused Serialized files (Serialized files now loaded: 0)

    UnloadTime: 5.932625 ms

    Unloading 13 unused Assets to reduce memory usage. Loaded Objects now: 1200.

    Total: 10.377334 ms (FindLiveObjects: 0.242125 ms CreateObjectMapping: 0.107625 ms MarkObjects: 9.850084 ms DeleteObjects: 0.175709 ms)



    Unloading 0 Unused Serialized files (Serialized files now loaded: 0)

    UnloadTime: 4.723667 ms

    Unloading 13 unused Assets to reduce memory usage. Loaded Objects now: 1200.

    Total: 9.838167 ms (FindLiveObjects: 0.246250 ms CreateObjectMapping: 0.084959 ms MarkObjects: 9.346042 ms DeleteObjects: 0.159667 ms)



    Unloading 0 Unused Serialized files (Serialized files now loaded: 0)

    UnloadTime: 2.021166 ms

    Unloading 13 unused Assets to reduce memory usage. Loaded Objects now: 1200.

    Total: 12.104541 ms (FindLiveObjects: 0.258875 ms CreateObjectMapping: 0.152625 ms MarkObjects: 11.350000 ms DeleteObjects: 0.341084 ms)



    Unloading 0 Unused Serialized files (Serialized files now loaded: 0)

    UnloadTime: 4.276334 ms

    Unloading 13 unused Assets to reduce memory usage. Loaded Objects now: 1200.

    Total: 9.647792 ms (FindLiveObjects: 0.231917 ms CreateObjectMapping: 0.083875 ms MarkObjects: 9.174625 ms DeleteObjects: 0.156000 ms)



    Unloading 0 Unused Serialized files (Serialized files now loaded: 0)

    UnloadTime: 2.075959 ms

    Unloading 13 unused Assets to reduce memory usage. Loaded Objects now: 1200.

    Total: 6.017542 ms (FindLiveObjects: 0.124500 ms CreateObjectMapping: 0.051750 ms MarkObjects: 5.724208 ms DeleteObjects: 0.116042 ms)



    Unloading 0 Unused Serialized files (Serialized files now loaded: 0)

    UnloadTime: 4.248500 ms

    Unloading 13 unused Assets to reduce memory usage. Loaded Objects now: 1200.

    Total: 8.261666 ms (FindLiveObjects: 0.208084 ms CreateObjectMapping: 0.063500 ms MarkObjects: 7.851167 ms DeleteObjects: 0.137833 ms)



    Unloading 0 Unused Serialized files (Serialized files now loaded: 0)

    UnloadTime: 2.065167 ms

    Unloading 13 unused Assets to reduce memory usage. Loaded Objects now: 1200.

    Total: 13.432750 ms (FindLiveObjects: 0.132125 ms CreateObjectMapping: 0.062167 ms MarkObjects: 13.120291 ms DeleteObjects: 0.117042 ms)



    Unloading 0 Unused Serialized files (Serialized files now loaded: 0)

    UnloadTime: 5.670875 ms

    Unloading 13 unused Assets to reduce memory usage. Loaded Objects now: 1200.

    Total: 10.388042 ms (FindLiveObjects: 0.283625 ms CreateObjectMapping: 0.104625 ms MarkObjects: 9.801750 ms DeleteObjects: 0.196292 ms)



    Unloading 0 Unused Serialized files (Serialized files now loaded: 0)

    UnloadTime: 4.503292 ms

    Unloading 13 unused Assets to reduce memory usage. Loaded Objects now: 1200.

    Total: 9.735375 ms (FindLiveObjects: 0.211042 ms CreateObjectMapping: 0.078750 ms MarkObjects: 9.296375 ms DeleteObjects: 0.147958 ms)



    Unloading 0 Unused Serialized files (Serialized files now loaded: 0)

    UnloadTime: 5.331709 ms

    Unloading 13 unused Assets to reduce memory usage. Loaded Objects now: 1200.

    Total: 10.468458 ms (FindLiveObjects: 0.256750 ms CreateObjectMapping: 0.106875 ms MarkObjects: 9.942709 ms DeleteObjects: 0.160250 ms)



    Unloading 0 Unused Serialized files (Serialized files now loaded: 0)

    UnloadTime: 5.296875 ms

    Unloading 13 unused Assets to reduce memory usage. Loaded Objects now: 1200.

    Total: 9.799542 ms (FindLiveObjects: 0.219000 ms CreateObjectMapping: 0.080250 ms MarkObjects: 9.338625 ms DeleteObjects: 0.159833 ms)



    Unloading 0 Unused Serialized files (Serialized files now loaded: 0)

    UnloadTime: 4.944333 ms

    Unloading 13 unused Assets to reduce memory usage. Loaded Objects now: 1200.

    Total: 9.835125 ms (FindLiveObjects: 0.221792 ms CreateObjectMapping: 0.079542 ms MarkObjects: 9.318167 ms DeleteObjects: 0.214291 ms)
     
  2. unity_474F211C1A4DB76D01C1

    unity_474F211C1A4DB76D01C1

    Joined:
    Nov 6, 2021
    Posts:
    2
    Sorry for the overload, these are the warnings I receive.

    Thanks again!

    Josh
     

    Attached Files: