Skip to content

Windows build scene won't load #2172

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
CisDutchRose opened this issue Feb 26, 2025 · 5 comments
Open

Windows build scene won't load #2172

CisDutchRose opened this issue Feb 26, 2025 · 5 comments
Assignees
Labels
question Further information is requested triage Needs triage

Comments

@CisDutchRose
Copy link

AVPro Video Version

3.2.2

Which platform is your question for?

Windows

Your question

We have bought the asset for both Android and iOS platforms. However, I would like to test its functionality on Windows (with a watermark), but I am encountering an issue. When I build the project as a standalone for Windows, the scene fails to load. Interestingly, the scene runs without issue in the editor (also using AssetBundles in the editor).

We are utilizing AssetBundles to download and load scenes from our server. While most bundles work as expected, the scenes using this specific asset are not loading (in a build). The following error message appears:

The file cannot be loaded because it was created for another build target that is not compatible with this platform. Please ensure that AssetBundles are built using the correct target platform.
File's Build target is: 13

But that's weird because I created the bundle for Standalone Windows.

Could you kindly confirm if this issue is related to the use of the trial version, or if there is another underlying cause?

@CisDutchRose CisDutchRose added question Further information is requested triage Needs triage labels Feb 26, 2025
@Chris-RH
Copy link
Contributor

We don't support loading videos from asset bundles.

@CisDutchRose
Copy link
Author

Hey Chris. The videos are NOT in the asset bundle. We upload the scene to our server so players can download scenes they want to play in. That way we keep the initial download small. All the scenes with this asset can't load in a bbuild version for windows. But if I build to Android it will work just fine.

@Chris-RH
Copy link
Contributor

So if you take AVPro out of it, does it build fine?

@CisDutchRose
Copy link
Author

CisDutchRose commented Feb 26, 2025

Yes. And I was wondering if this is because we using the trial version for windows. And keep in mind that it works just fine in the editor itselff if i load those scnes with the assetbundle method

@MorrisRH
Copy link
Contributor

MorrisRH commented Mar 7, 2025

Possibly the same issue here which suggests this an issue with Unity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested triage Needs triage
Projects
None yet
Development

No branches or pull requests

3 participants