Search Issue Tracker

Active

Votes

1

Found in

2020.3.40f1

2021.3.11f1

2022.1.18f1

2022.2.0b8

2023.1.0a10

Issue ID

UUM-15848

Regression

No

MissingReferenceException is thrown by Advertisement when trying to play an ad for the second time

--

-

Steps to reproduce:
1. Open the user’s project
2. Enter Play mode
3. Press the “Play” button and hit an obstacle (control the Circle by changing the X and Y position coordinate in the Inspector)
4. Click on the screen to play an ad
5. Hit an obstacle (will be returned to the game menu)
6. Press the “Play” button and hit an obstacle
7. Click on the screen to play an ad

Expected result: The ad plays for the second time
Actual result: Error “MissingReferenceException: The object of type 'GameObject' has been destroyed, but you are still trying to access it” is thrown by the “Library/PackageCache/com.unity.ads@4.3.0/Runtime/Advertisement/Platform/Editor/Placeholder.cs” script

Reproducible with: 4.3.0 (2020.3.40f1, 2021.3.11f1, 2022.1.18f1, 2022.2.0b8, 2023.1.0a10)

Reproduced on: macOS Monterey 12.5.1 (Intel)

Note: With 2022.2.0b8 and 2023.1.0a10 the error occurs at the 4th step (when trying to play an ad for the first time)

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.