playMaker

Author Topic: Missing Game Objects (prefabs) after build for Windows  (Read 1211 times)

Strelitzia

  • Playmaker Newbie
  • *
  • Posts: 6
Missing Game Objects (prefabs) after build for Windows
« on: April 15, 2023, 08:07:57 PM »
Hello , came across a very interesting bug. I've never encountered this before. After the Windows Build, all the prefabs that are installed in the FSM are removed. Prefabs are in the project Assets/Prefabs and references are set to them. Ie in the scene I am fine, the gun fires all the effects are, the shells fall out, but after the build, fly off all references and have to configure the template again. In the build also does not work all this.

Strelitzia

  • Playmaker Newbie
  • *
  • Posts: 6
Re: Missing Game Objects (prefabs) after build for Windows
« Reply #1 on: April 16, 2023, 04:51:31 AM »
it seems that unity cannot understand that these prefabs need to be thrown into the build. And they get flipped. I created an empty  object in the scene with the prefabs that fly off, and reassigned references to these objects. And nothing seems to fly off. But this topic is really limiting for me.  :-\

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7619
    • jinxtergames
Re: Missing Game Objects (prefabs) after build for Windows
« Reply #2 on: April 16, 2023, 09:33:18 AM »
Hi.
What unity/playmaker version are you using?

Strelitzia

  • Playmaker Newbie
  • *
  • Posts: 6
Re: Missing Game Objects (prefabs) after build for Windows
« Reply #3 on: April 16, 2023, 09:44:57 AM »
Hi.
What unity/playmaker version are you using?

Unity 2022.2.15 (Latest)
Playmaker 1.9.6

Strelitzia

  • Playmaker Newbie
  • *
  • Posts: 6
Re: Missing Game Objects (prefabs) after build for Windows
« Reply #4 on: April 26, 2023, 03:14:45 PM »
Looks like the problem was solved by downgrading unity to 2021 LTS and reinstalling PlayMaker

elvis75k

  • Beta Group
  • Junior Playmaker
  • *
  • Posts: 97
    • nRender
Re: Missing Game Objects (prefabs) after build for Windows
« Reply #5 on: June 19, 2023, 04:16:14 PM »
oh nooo i have the same issue :(

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7619
    • jinxtergames
Re: Missing Game Objects (prefabs) after build for Windows
« Reply #6 on: August 25, 2023, 10:13:57 AM »
Hi.
This issue should be resolved with the latest Unity 2022 version

burgertepid

  • Playmaker Newbie
  • *
  • Posts: 2
Re: Missing Game Objects (prefabs) after build for Windows
« Reply #7 on: April 22, 2024, 04:18:52 AM »
Select the GameObject and in the Inspector, drag and drop the correct Prefab onto the 'Prefab' field. drift hunters

EssaMattou

  • Playmaker Newbie
  • *
  • Posts: 1
Re: Missing Game Objects (prefabs) after build for Windows
« Reply #8 on: April 26, 2024, 12:18:28 AM »
Hi.
This issue should be resolved with the latest Unity 2022 version
Isn't there any solution that can succeed on old Unity?