[ANDROID] Build for Android platform fails when using Graphic Profile other than Direct3D 9.2 or Direct3D 9.3
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 7.8k
- Forks
- 1.2k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 49
Description
Release Type: Official Release
Version: v4.2.0.2232
Platform(s): Project build for Android platform
Describe the bug
If You have selected Default Graphic Profile for android platform other than Direct3D 9.2 or Direct3D 9.3 and You have any Sprite sheet in Assets folder, then when You try to build project for Android platform You've got null reference exceptions and build fails.
To Reproduce
Steps to reproduce the behavior:
- Create project for Android platform
- Add Sprite sheet to Assets (e.g. created from png)
- Set Default Graphic Profile to any other than Direct3D 9.2 or Direct3D 9.3 under Rendering in GameSettings (or override only for Android platform)
- Try to build project for Android platform (Debug/Release doesn't matter)
- Failed to build the project
Expected behavior
Be able to use Graphic Profiles other than Direct3D 9.2 or Direct3D 9.3 only and successfully build the project.
Screenshots
Log and callstacks
StrideAndroidPlatformBuildFailed.txt
Additional context
Builds just fine when using Direct3D 9.2 or Direct3D 9.3
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing an Android project build with a sprite sheet and a non-Direct3D 9.2/9.3 Graphic Profile, then inspect the attached StrideAndroidPlatformBuildFailed.txt log and call stacks. Done means Debug and Release Android builds succeed with the other Graphic Profiles.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, csharp
- Domain
- build-system, mobile-dev
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100