# Dynamo script works in dynamo but dont work in player

**URL:** <https://forum.dynamobim.com/t/dynamo-script-works-in-dynamo-but-dont-work-in-player/111024>\
**Category:** Revit\
**Tags:** dynamo\
**Created:** [June 30, 2025, 3:15pm UTC](https://forum.dynamobim.com/t/dynamo-script-works-in-dynamo-but-dont-work-in-player/111024 "2025-06-30T15:15:01Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![Darozas](https://avatars.discourse-cdn.com/v4/letter/d/919ad9/32.png) [@Darozas](https://forum.dynamobim.com/u/Darozas)\
**Post date:** [June 30, 2025, 3:15pm UTC](https://forum.dynamobim.com/t/dynamo-script-works-in-dynamo-but-dont-work-in-player/111024/1 "2025-06-30T15:15:01Z")

</div>

Hi All ,

Can any one direct me right direction please. Been spinning on this all day but got no results so far.

Installed Revit 2025 run script through dynamo no problems.

If i run same script through player it flails instantly giving me warning on all nodes.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/d/f/df086dad0c7b5534b9de68141c991f60f285cac6.png)

No errors in dynamo all packages up to date. Runs fine inside dynamo but wont work outside of it.

Is this player bug or i miss something here ?

Thanks in advance!

Regards

---

<div class="post-metadata">

**Author:** ![pedruccioli](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/pedruccioli/32/187055_2.png) [@pedruccioli](https://forum.dynamobim.com/u/pedruccioli)\
**Post date:** [June 30, 2025, 4:16pm UTC](https://forum.dynamobim.com/t/dynamo-script-works-in-dynamo-but-dont-work-in-player/111024/2 "2025-06-30T16:16:03Z")

</div>

Hello, and welcome to the forum!  
Do you have at least one node as “Is Output”?

---

<div class="post-metadata">

**Author:** ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)\
**Post date:** [June 30, 2025, 4:19pm UTC](https://forum.dynamobim.com/t/dynamo-script-works-in-dynamo-but-dont-work-in-player/111024/3 "2025-06-30T16:19:17Z")

</div>

It would be helpful if we could see your graph in action. What’s the first node to fail? Where are you pulling data from? Are there any inputs that have to be set?

---

<div class="post-metadata">

**Author:** ![Darozas](https://avatars.discourse-cdn.com/v4/letter/d/919ad9/32.png) [@Darozas](https://forum.dynamobim.com/u/Darozas)\
**Post date:** [July 1, 2025, 7:15am UTC](https://forum.dynamobim.com/t/dynamo-script-works-in-dynamo-but-dont-work-in-player/111024/4 "2025-07-01T07:15:57Z")

</div>

Hi Pedruccioli,

No there is no outputs set as is not required.

Regards

---

<div class="post-metadata">

**Author:** ![Darozas](https://avatars.discourse-cdn.com/v4/letter/d/919ad9/32.png) [@Darozas](https://forum.dynamobim.com/u/Darozas)\
**Post date:** [July 1, 2025, 7:17am UTC](https://forum.dynamobim.com/t/dynamo-script-works-in-dynamo-but-dont-work-in-player/111024/5 "2025-07-01T07:17:48Z")

</div>

Hi Nick,

Graph works without issues. I get no errors if i run it in graph.

It only fails using player

Regards

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [July 1, 2025, 7:53am UTC](https://forum.dynamobim.com/t/dynamo-script-works-in-dynamo-but-dont-work-in-player/111024/6 "2025-07-01T07:53:17Z")

</div>

Try adding an output, even if just a watch node returning ‘true’, as there was a bug in a Dynamo for Revit release which prevents execution in some cases. Once added if the issue gets fixed I believe that you can remove it.

---

<div class="post-metadata">

**Author:** ![Darozas](https://avatars.discourse-cdn.com/v4/letter/d/919ad9/32.png) [@Darozas](https://forum.dynamobim.com/u/Darozas)\
**Post date:** [July 1, 2025, 8:13am UTC](https://forum.dynamobim.com/t/dynamo-script-works-in-dynamo-but-dont-work-in-player/111024/7 "2025-07-01T08:13:52Z")

</div>

Hi Jacob ,

tried to add it but still failing

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/b/fbb8ad77164be2f8ea2592a1ed3d425c5d804237.png)  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/a/1a6cbc6a953402df2c429130cd70654bab912d67.png)

Regards

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [July 1, 2025, 8:31am UTC](https://forum.dynamobim.com/t/dynamo-script-works-in-dynamo-but-dont-work-in-player/111024/8 "2025-07-01T08:31:15Z")

</div>

Graph is running but there is an error with something during execution. Can you post the graph and a model it runs fine on in Dynamo but not player so that the community can identify the root for you?

Best guess is that this relates to the collection / selection method used.

---

<div class="post-metadata">

**Author:** ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)\
**Post date:** [July 1, 2025, 5:55pm UTC](https://forum.dynamobim.com/t/dynamo-script-works-in-dynamo-but-dont-work-in-player/111024/9 "2025-07-01T17:55:40Z")

</div>

But you should be able to identify where you would have problem areas with certain nodes. Do all nodes show a warning in Player? If they do, what’s the first node in your graph to execute? What does the warning in Player say? If some nodes execute without a warning, where do the warnings first pop up? With no information on your graph or the warnings you’re seeing, it’s very hard to give you any feedback.

---

<div class="post-metadata">

**Author:** ![Darozas](https://avatars.discourse-cdn.com/v4/letter/d/919ad9/32.png) [@Darozas](https://forum.dynamobim.com/u/Darozas)\
**Post date:** [July 1, 2025, 8:41pm UTC](https://forum.dynamobim.com/t/dynamo-script-works-in-dynamo-but-dont-work-in-player/111024/10 "2025-07-01T20:41:45Z")

</div>

Hi Nick,

I have opened graph from player them pressed play again.

And all errors come to live in dynamo

I think i know where the problem is.

I dont think Dynamo likes " , " in name.

Still struggle to understand why it ran fine in graph

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/3/03f68d71d7b6491acd89213909f3f91542366027.png)

Renamed Elevation marker all working as should.

Thanks all for your time

Regards

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [July 1, 2025, 9:05pm UTC](https://forum.dynamobim.com/t/dynamo-script-works-in-dynamo-but-dont-work-in-player/111024/11 "2025-07-01T21:05:31Z")

</div>

FYI @achintya_bhat @emrullah.yildiz @solamour we might want to confirm the bug on this one.

---

<div class="post-metadata">

**Author:** ![achintya\_bhat](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/achintya_bhat/32/183028_2.png) [@achintya\_bhat](https://forum.dynamobim.com/u/achintya_bhat)\
**Post date:** [July 2, 2025, 2:33pm UTC](https://forum.dynamobim.com/t/dynamo-script-works-in-dynamo-but-dont-work-in-player/111024/12 "2025-07-02T14:33:52Z")

</div>

@Darozas Will DM you for more details and would help us narrow this down faster if you can share sample files with us.
