I’m using Luna Playground (Unity Playworks) to make playable ads, which works flawlessly until there’s videos included.
This is the UI of Luna plugin
When I upload the playable ads built with Luna to Mindworks website to test it out, as long as there’s no video then the ads will have no issue at all. But when videos are included, it always has a “Code Exception” like this.
How it says there’s a “Code Exception”
When I click on the highlighted text to see what the error is, it shows something like this.
The error it shows
After some researches, I found out that this error means that a link created to get some kind of assets out are not working correctly (which is precisely the video assets because without video assets, the PLY works just fine).
I tried everything I can, like including the video at the “Force-include Assets” area as we can see in the first image. Or I actually threw the video into a serialized field just in case the “VideoPlayer” component of Unity had the wrong reference to the video asset when I built it, and then I assign the video to the component after the game loaded.
But all that attempts lead to the same failure, and I’m totally out of ideas.
Does anyone know why it happens and how to fix it?
Makeru is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.