Unity-Technologies / Unity-Technologies/NativeRenderingPlugin
Native Plugin crash on Windows using OpenGL ES 3
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 943
- Forks
- 186
- PR merge metrics
- No merged PRs in 30d
Description
It crashes in function static GLuint CreateShader(GLenum type, const char* sourceText) line 125 (GLuint ret = glCreateShader(type);
with:
Exception thrown at 0x0000000000000000 in Unity.exe: 0xC0000005: Access violation executing location 0x0000000000000000.
PC running Windows 11 (10.0.22000.556).
We are using Unity 2021.3.1f1.
Should it work or isn't it meant to work with that version of OpenGL in Windows platform?
Contributor guide
No contributing guide indexed for this repository
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 at CreateShader in the native plugin, specifically line 125 where glCreateShader is called, and reproduce the crash on Windows 11 with Unity 2021.3.1f1 and OpenGL ES 3. Determine whether this configuration is supported and identify the cause of the null call; done means documenting the compatibility result or confirming a focused fix and its validation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, unity
- Domain
- computer-graphics, game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100