Skip to content
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

LightingRenderer.BeforeRender causes an IndexOutOfRange exception #695

Open
LozenChen opened this issue Nov 15, 2023 · 0 comments
Open

LightingRenderer.BeforeRender causes an IndexOutOfRange exception #695

LozenChen opened this issue Nov 15, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@LozenChen
Copy link
Contributor

LozenChen commented Nov 15, 2023

My mods and Everest install are up to date

Yes

I have recreated the bug with only Everest OR a minimum number of mods enabled

Yes

Describe the bug

See
https://discord.com/channels/403698615446536203/1149463596246519928/1173685926824783915

TL;DR: LightingRenderer.verts/indices are arrays of length 11520, so too many VertexLight/LightOcclude/EffectCutout will lead to an IndexOutOfRange exception

Steps to reproduce

https://discord.com/channels/403698615446536203/1149463596246519928/1173687988614615060

Expected behavior

No crash

Operating System

Windows 10

Everest Version

4417

Mods required to reproduce

No

Additional context

No response

@LozenChen LozenChen added the bug Something isn't working label Nov 15, 2023
@LozenChen LozenChen changed the title LightingRenderer.BeforeRender causes a IndexOutOfRange exception LightingRenderer.BeforeRender causes an IndexOutOfRange exception Nov 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant