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

[Bug][Crash] Internal Error: LoadField field DataIdx<0 where InstSize>0 #2106

Closed
kallisto56 opened this issue Jan 24, 2025 · 1 comment
Closed

Comments

@kallisto56
Copy link
Contributor

kallisto56 commented Jan 24, 2025

Hi there,
While working with the issue #1871 I've noticed errors like this:

INTERNAL ERROR:
LoadField field DataIdx < 0 where InstSize > 0
Module: GlitchyEngine_World_TransformComponent
Type: GlitchyEngine.World.TransformComponent
Method: GlitchyEngine.World.TransformComponent.RotationAxisAngle set accessor
while compiling 'GlitcyEngine.WorldTransformComponent'

Here is a video on how to reproduce this error:

LoadField.mp4

Steps to reproduce it:

  1. Goto line 898 or 940
  2. Comment that line out
  3. If internal error did not happen, uncomment that line
  4. Repeat until it happens

Sometimes it crashes, I've included a CrashDump into zip-file.
It seems that this internal error is from here: https://github.com/beefytech/Beef/blob/master/IDEHelper/Compiler/BfExprEvaluator.cpp#L5453

This issue is tested on latest nightly (9d8647c).

Attachment: bug.LoadField.zip

@bfiete
Copy link
Collaborator

bfiete commented Jan 24, 2025

Nice, I had already found and fixed this error today at 1ee4c26

I'm not 100% sure I found the correct crash issue but I fixed a couple potential things at 9444a0d

@bfiete bfiete closed this as completed Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants