-
Notifications
You must be signed in to change notification settings - Fork 3
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
Bugfix/loading errors #331
Conversation
…being loaded from ~140x to only 4x on main world.
… culling (again).
…uccessfully ignored for creation (again).
var vobTree = new ZenKit.World(GameData.Vfs, vob.VobTree); | ||
if (!vobTreeCache.TryGetValue(vob.VobTree.ToLower(), out IWorld vobTree)) | ||
{ | ||
vobTree = new ZenKit.World(GameData.Vfs, vob.VobTree).Cache(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
vobTree = new ZenKit.World(GameData.Vfs, vob.VobTree).Cache(); | |
vobTree = new ZenKit.World(GameData.Vfs, vob.VobTree); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can keep this cache. At least the .zen itself isn't re-parsed every time.
I'll also add, that we leverage latest ZenKit version which also solves the last error message. |
@JucanAndreiDaniel please test again. Unfortunately I couldn't see your fire again. But the errors are gone. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Make sure to restart unity as it might not let you see all the lights, i see no issue on my side
To test