Hi,
I've got this Lua error in my scene:
Editor Engine / Lua: core/editor_slave/stingray_editor/group.lua:28: assertion failed!
Lua Callstack
----------------------------------------
[1] [C]: in function assert
[2] core/editor_slave/stingray_editor/group.lua:28: in function init
[3] core/editor_slave/common/class.lua:9: in function Group
[4] core/editor_slave/stingray_editor/level_editing.lua:578: in function spawn_group
[5] [string "local _temp_size = stingray.Script.temp_byte_count(); LevelEditing:spawn_group('cc53a8cd-b520-48f4-a9df-af7760c7c..."]:1: in main chunk
Lua Locals
----------------------------------------
[2] self = table: 000000007E655520, id = cc53a8cd-b520-48f4-a9df-af7760c7c6e2, child_ids = table: 000000007E6554F8, name = untitled
[3] self = table: 000000007EC9BBA8, object = table: 000000007E655520
[4] self = table: 000000007ECD3B50, id = cc53a8cd-b520-48f4-a9df-af7760c7c6e2, pivot = Vector3(0, 0, 0), children = table: 000000007E6554F8, name = untitled, temp_size = 16
[5] _temp_size = 0
I dunno what to do with it or solve it. The level runs fine. The only anoying thing is that the sometimes the controllers act a little bit unstable.(whon't change from material).
Can anyone help me solve this problem? Thnx in advance..
Cheers Jordi
Solved! Go to Solution.
Solved by _robbs_. Go to Solution.
Are there specific steps that can be followed to reproduce the issue? Does this occur during level editing or while running the level?
When I open the level, it pops up.
When I run the level... everything looks alright.
I modified a level, which was created in the default template, to use it with the HTC Vive.
I made a few ( ehhmmmm actually a lot) changes in various Lua scripts. Don't know where I went wrong.
Could also be after the upgrade from 1.6 to 1.7..... i dunno 😞
Jordi
It is going to be hard to deduce the problem from just an error log. Something you changed is causing an error in core. Likely you are giving the wrong parameters to a function but im not sure. you can try using the debugger by putting in breaks where you think the problem might be. Unfortunately im unable to really tell from the error.
So this error is occurring in the editor_slave Lua code, which is run only when the editor loads up your level. So the good news is that it probably will not affect anything in your level when it plays in the engine at runtime.
That said, somehow something in the level data has gotten corrupted. If you could post the level somewhere we could try to reproduce.
Did you edit the .level file manually at any point?
I didn't edit the .level manually. I think,(not sure though) it apearred for the first time after import an asset from the learning museum.
I'll upload the level tomorrow morning. Thanks in advance.
Robb,
Do you want the complete project or only certain files?
Syncing now to 360 ... 3.3Gb 😕
Wow, thanks!
The good news is I was able to reproduce the problem opening the Apartment_01 level, and I can tell you how to get rid of the error.
In other words, find this data:
Groups = [ { Children = [ ] Id = "cc53a8cd-b520-48f4-a9df-af7760c7c6e2" Name = "untitled" Pivot = { X = 0 Y = 0 Z = 0 } Pos = { X = 1.66701626777649 Y = 6.69169902801514 Z = -0.370343685150146 } Rot = { W = 1 X = 0 Y = 0 Z = 0 } Scl = { X = 1 Y = 1 Z = 1 } } ]
and change it so it looks like this:
Groups = [ ]
It should load without an error.
The bad news is that I don't know yet how your level got into that state... Let us know if the problem comes up again.
Can't find what you're looking for? Ask the community or share your knowledge.