Skip to content

Commit

Permalink
[unity]重构后il2cpp版本的编译问题
Browse files Browse the repository at this point in the history
  • Loading branch information
chexiongsheng committed Apr 8, 2024
1 parent 3271d4d commit f43c072
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unity/native_src_il2cpp/Src/Puerts.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ struct JSEnv
#endif
v8::V8::SetFlagsFromString(Flags.c_str(), static_cast<int>(Flags.size()));

BackendEnv.Initialize();
BackendEnv.Initialize(nullptr, nullptr);
MainIsolate = BackendEnv.MainIsolate;

auto Isolate = MainIsolate;
Expand Down

0 comments on commit f43c072

Please sign in to comment.