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

Strange macro behavior with server during heaps shader generation #11643

Open
yuxiaomao opened this issue Apr 25, 2024 · 0 comments
Open

Strange macro behavior with server during heaps shader generation #11643

yuxiaomao opened this issue Apr 25, 2024 · 0 comments
Milestone

Comments

@yuxiaomao
Copy link
Contributor

There is a project, when building Hide plugin (javascript) for the 2nd time and above, generate errors which does not present if we do not use server.
Two errors are observed:

  • Forced inline constructor could not be inlined - when add a line in a heaps/h3d.shader
  • error: haxe.iterators.ArrayIterator<hxd.fmt.hmd.AnimationEvent>.hasNext is not accessible at runtime and many others similar errors (~130 errors in total) - when remove a line in shader or when modify heaps/hxsl/Macro.hx

Bisect indicate:

  • be88d42 (known good commit)
  • fe395ef (very likely the first bad commit, which requires cherrypick 7f6d274 to compile)
  • 7f6d274 (known bad commit)
@yuxiaomao yuxiaomao changed the title Strange macro behavior during heaps shader generation Strange macro behavior with server during heaps shader generation Apr 26, 2024
@kLabz kLabz added this to the 5.0 preview 1 milestone Apr 29, 2024
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