playMaker

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - MarkD

Pages: [1] 2 3 ... 6
1
Playmaker Help / Re: Playmaker and Photon - Syncing a boolean
« on: September 26, 2017, 07:28:55 PM »
Thanks guys.

Jean - those tutorial pages are definitely helpful, but I don't seem to be getting anywhere with them.

Here's my really basic setup and assumptions:

  • There are two buttons, we'll call them A and B.
    Pressing Button A does a Set FSM Bool A to True
    Pressing Button B does a Set FSM Bool B to True
    A and B are booleans on another game object called "Game Manager"with the following components/settings:
    They have network sync checked
    They each have a Photon view component (set to Fixed, unreliable on change, observing the FSM from the Game Manager Object.)
    They each have a Play Maker Photon Game Object Proxy

From what I've read, I would assume that since they're Network sync'd values and being observed, when I click on button A from my 2nd instance, I SHOULD see that value turn True on my instance running in the editor.  But I don't.

What am I missing? 

2
Playmaker Help / Playmaker and Photon - Syncing a boolean
« on: September 21, 2017, 09:00:20 PM »
Hey guys -

Learning Photon has really been a challenge for me and I feel like I'm probably making a really simple mistake with all of this.

My current challenge is trying to get sync a boolean value across the network.  Rather than post a long description with pictures, I just made a quick video showing what I'm doing in the editor.

Any ideas?

Here's the video:

https://youtu.be/qJnYUGfYXU0

3
Playmaker Help / Re: Playmaker Photon - Suddenly not connecting
« on: September 21, 2017, 07:47:21 PM »
Ok - maybe it's got something to do with network access?  At home everything works great, but while on my work network no connection.  Maybe it's a port thing?


4
Playmaker Help / Playmaker Photon - Suddenly not connecting
« on: September 21, 2017, 12:26:21 PM »
Hey guys,

Brand new to working with Photon and I had everything connecting and working a couple of days ago and now suddenly I can't connect.

A few things:
I'm connected to the internet, haha so that's not it.
I checked the Photon wizard and it's telling me things are setup properly
I've tried my current version and a back up that was also previously working and no luck there.

I'm a little unsure how to trouble shoot things like this.  Any suggestions on things to try?

5
Playmaker Help / Re: Error when building my project [SOLVED]
« on: September 12, 2017, 08:34:27 AM »
Gah - that's what it was.  Thanks guys!

6
Playmaker Help / Re: Error when building my project
« on: September 11, 2017, 07:33:58 PM »
Thanks guys.

Djaydino - I found the file you mentioned, all of mine were unchecked and WSAPlayer wasn't an option.

Jean - I haven't been using the Ecosystem.  Rather, I've tried the links found on this page: https://hutonggames.fogbugz.com/default.asp?W928

The first link PlayMakerPUN.unitypackage is the one that I've had the most success with and the one that I've used in the steps above.  But I also tried the one marked for Unity 5 and I get a bunch of errors right off the bat.

Maybe that's the problem?  I SHOULD be getting the one labled 5 but I'm missing some other step to get it working?  If that's the case, what am supposed to do exactly?

Thanks again!

7
Playmaker Help / Re: Error when building my project
« on: September 10, 2017, 10:28:50 PM »
Hey djay,

So your reply made me realize I hadn't actually tried it with a totally clean install so I did just that.  Similar results, but not exactly the same errors.  The end result is the same, I can't build my project.

So here are my steps:
Made a new project using latest version of Unity (2017.1.1f1)
Downloaded and installed latest Playmaker version (1.8.5.f8)
Downloaded and installed Arraymaker
Tested build in an empty test scene, no problems
Downloaded and installed uGui for Playmaker
Tested build in an empty test scene, had to correct one obsolete error in a uGui script, no problems after that
Downloaded and installed PlayMakerPUN.unitypackage
Errors found.

This time, I got these two errors:


Mono.CompilerServices.SymbolWriter.MonoSymbolFileException: Symbol file `C:\Users\markd\Documents\New Unity Project - Testtest\Assets\Plugins\PlayMaker\Metro\PlayMaker.dll.mdb' does not match assembly
  at Mono.CompilerServices.SymbolWriter.MonoSymbolFile.ReadSymbolFile (System.String mdbFilename, System.Guid assemblyGuid) [0x00029] in <39c76d15c45949149ea6d2822fe0d4f5>:0
  at Mono.Cecil.Mdb.MdbReaderProvider.GetSymbolReader (Mono.Cecil.ModuleDefinition module, System.String fileName) [0x00012] in <39c76d15c45949149ea6d2822fe0d4f5>:0
  at Mono.Cecil.ModuleReader.ReadSymbols (Mono.Cecil.ModuleDefinition module, Mono.Cecil.ReaderParameters parameters) [0x00032] in <aa9db9129f9d4243a99d025330e76d74>:0
  at Mono.Cecil.ModuleReader.CreateModuleFrom (Mono.Cecil.PE.Image image, Mono.Cecil.ReaderParameters parameters) [0x0007b] in <aa9db9129f9d4243a99d025330e76d74>:0
  at Mono.Cecil.ModuleDefinition.ReadModule (System.IO.Stream stream, Mono.Cecil.ReaderParameters parameters) [0x00028] in <aa9db9129f9d4243a99d025330e76d74>:0
  at Mono.Cecil.AssemblyDefinition.ReadAssembly (System.IO.Stream stream, Mono.Cecil.ReaderParameters parameters) [0x00000] in <aa9db9129f9d4243a99d025330e76d74>:0
  at AssemblyUpdater.Core.AssemblyUpdaterContext.ReadAssembly (System.String assemblyPath, APIUpdater.Framework.Log.IAPIUpdaterListener listener, System.IO.FileAccess mode, System.String[] searchPaths) [0x0007c] in <2e2e6e53129e4ba1874d2ad0eec22c59>:0
  at AssemblyUpdater.Core.AssemblyUpdaterContext.From (System.String assemblyPath, APIUpdater.Framework.Configuration.IConfigurationProvider configuration, System.String[] assemblySearchPaths, AssemblyUpdater.Core.UpdaterMode mode, APIUpdater.Framework.Log.IAPIUpdaterListener listener) [0x0002b] in <2e2e6e53129e4ba1874d2ad0eec22c59>:0
  at AssemblyUpdater.Core.AssemblyUpdaterContext.From (System.String assemblyPath, System.String[] assemblySearchPaths, AssemblyUpdater.Core.UpdaterMode mode, APIUpdater.Framework.Log.IAPIUpdaterListener listener) [0x00001] in <2e2e6e53129e4ba1874d2ad0eec22c59>:0
  at AssemblyUpdater.Application.Program.CheckForObsoleteAPIUsage (AssemblyUpdater.Application.CommandLineSpec config) [0x00013] in <2e2e6e53129e4ba1874d2ad0eec22c59>:0
  at AssemblyUpdater.Application.Program.Main (System.String[] args) [0x00057] in <2e2e6e53129e4ba1874d2ad0eec22c59>:0
UnityEditor.Scripting.APIUpdaterHelper:DoesAssemblyRequireUpgrade(String)

and


System.InvalidOperationException: Operation is not valid due to the current state of the object.
  at Mono.Cecil.ModuleDefinition.ProcessDebugHeader () [0x00021] in <aa9db9129f9d4243a99d025330e76d74>:0
  at Mono.Cecil.ModuleDefinition.ReadSymbols (Mono.Cecil.Cil.ISymbolReader reader) [0x00015] in <aa9db9129f9d4243a99d025330e76d74>:0
  at Mono.Cecil.ModuleReader.ReadSymbols (Mono.Cecil.ModuleDefinition module, Mono.Cecil.ReaderParameters parameters) [0x00047] in <aa9db9129f9d4243a99d025330e76d74>:0
  at Mono.Cecil.ModuleReader.CreateModuleFrom (Mono.Cecil.PE.Image image, Mono.Cecil.ReaderParameters parameters) [0x0007b] in <aa9db9129f9d4243a99d025330e76d74>:0
  at Mono.Cecil.ModuleDefinition.ReadModule (System.IO.Stream stream, Mono.Cecil.ReaderParameters parameters) [0x00028] in <aa9db9129f9d4243a99d025330e76d74>:0
  at Mono.Cecil.AssemblyDefinition.ReadAssembly (System.IO.Stream stream, Mono.Cecil.ReaderParameters parameters) [0x00000] in <aa9db9129f9d4243a99d025330e76d74>:0
  at AssemblyUpdater.Core.AssemblyUpdaterContext.ReadAssembly (System.String assemblyPath, APIUpdater.Framework.Log.IAPIUpdaterListener listener, System.IO.FileAccess mode, System.String[] searchPaths) [0x0007c] in <2e2e6e53129e4ba1874d2ad0eec22c59>:0
  at AssemblyUpdater.Core.AssemblyUpdaterContext.From (System.String assemblyPath, APIUpdater.Framework.Configuration.IConfigurationProvider configuration, System.String[] assemblySearchPaths, AssemblyUpdater.Core.UpdaterMode mode, APIUpdater.Framework.Log.IAPIUpdaterListener listener) [0x0002b] in <2e2e6e53129e4ba1874d2ad0eec22c59>:0
  at AssemblyUpdater.Core.AssemblyUpdaterContext.From (System.String assemblyPath, System.String[] assemblySearchPaths, AssemblyUpdater.Core.UpdaterMode mode, APIUpdater.Framework.Log.IAPIUpdaterListener listener) [0x00001] in <2e2e6e53129e4ba1874d2ad0eec22c59>:0
  at AssemblyUpdater.Application.Program.CheckForObsoleteAPIUsage (AssemblyUpdater.Application.CommandLineSpec config) [0x00013] in <2e2e6e53129e4ba1874d2ad0eec22c59>:0
  at AssemblyUpdater.Application.Program.Main (System.String[] args) [0x00057] in <2e2e6e53129e4ba1874d2ad0eec22c59>:0
UnityEditor.Scripting.APIUpdaterHelper:DoesAssemblyRequireUpgrade(String)



8
Playmaker Help / Re: Error when building my project
« on: September 10, 2017, 07:55:45 PM »
So I just removed everything and rebuilt the project in this order:

Playmaker
Arraymaker
uGui

Then I tried building and it works perfectly.

When I add PhotonPUN I get the errors above.

9
Playmaker Help / Error when building my project [SOLVED]
« on: September 10, 2017, 06:48:33 PM »
Hey guys,

I'm getting compiler errors whenever I try to build my project.  My project is fairly simple right now, it contains the latest version of Playmaker and Unity (both updated today to be 100% sure), PlaymakerArraymaker, Playmaker PUN, and Playmaker uGui.

Here are the errors I'm getting:

error CS1704: An assembly with the same name `PlayMaker' has already been imported. Consider removing one of the references or sign the assembly
Assets/Plugins/PlayMaker/PlayMaker.dll (Location of the symbol related to previous error)
Assets/Plugins/PlayMaker/Metro/PlayMaker.dll (Location of the symbol related to previous error)
error CS1704: An assembly with the same name `Photon3Unity3D' has already been imported. Consider removing one of the references or sign the assembly
Assets/Plugins/Photon3Unity3D.dll (Location of the symbol related to previous error)
Assets/Plugins/WP8/Photon3Unity3D.dll (Location of the symbol related to previous error)



Mono.CompilerServices.SymbolWriter.MonoSymbolFileException: Symbol file `C:\Users\markd\Documents\Unity - Without a Trace\Assets\Plugins\PlayMaker\Metro\PlayMaker.dll.mdb' does not match assembly
  at Mono.CompilerServices.SymbolWriter.MonoSymbolFile.ReadSymbolFile (System.String mdbFilename, System.Guid assemblyGuid) [0x00029] in <39c76d15c45949149ea6d2822fe0d4f5>:0
  at Mono.Cecil.Mdb.MdbReaderProvider.GetSymbolReader (Mono.Cecil.ModuleDefinition module, System.String fileName) [0x00012] in <39c76d15c45949149ea6d2822fe0d4f5>:0
  at Mono.Cecil.ModuleReader.ReadSymbols (Mono.Cecil.ModuleDefinition module, Mono.Cecil.ReaderParameters parameters) [0x00032] in <aa9db9129f9d4243a99d025330e76d74>:0
  at Mono.Cecil.ModuleReader.CreateModuleFrom (Mono.Cecil.PE.Image image, Mono.Cecil.ReaderParameters parameters) [0x0007b] in <aa9db9129f9d4243a99d025330e76d74>:0
  at Mono.Cecil.ModuleDefinition.ReadModule (System.IO.Stream stream, Mono.Cecil.ReaderParameters parameters) [0x00028] in <aa9db9129f9d4243a99d025330e76d74>:0
  at Mono.Cecil.AssemblyDefinition.ReadAssembly (System.IO.Stream stream, Mono.Cecil.ReaderParameters parameters) [0x00000] in <aa9db9129f9d4243a99d025330e76d74>:0
  at AssemblyUpdater.Core.AssemblyUpdaterContext.ReadAssembly (System.String assemblyPath, APIUpdater.Framework.Log.IAPIUpdaterListener listener, System.IO.FileAccess mode, System.String[] searchPaths) [0x0007c] in <2e2e6e53129e4ba1874d2ad0eec22c59>:0
  at AssemblyUpdater.Core.AssemblyUpdaterContext.From (System.String assemblyPath, APIUpdater.Framework.Configuration.IConfigurationProvider configuration, System.String[] assemblySearchPaths, AssemblyUpdater.Core.UpdaterMode mode, APIUpdater.Framework.Log.IAPIUpdaterListener listener) [0x0002b] in <2e2e6e53129e4ba1874d2ad0eec22c59>:0
  at AssemblyUpdater.Core.AssemblyUpdaterContext.From (System.String assemblyPath, System.String[] assemblySearchPaths, AssemblyUpdater.Core.UpdaterMode mode, APIUpdater.Framework.Log.IAPIUpdaterListener listener) [0x00001] in <2e2e6e53129e4ba1874d2ad0eec22c59>:0
  at AssemblyUpdater.Application.Program.CheckForObsoleteAPIUsage (AssemblyUpdater.Application.CommandLineSpec config) [0x00013] in <2e2e6e53129e4ba1874d2ad0eec22c59>:0
  at AssemblyUpdater.Application.Program.Main (System.String[] args) [0x00057] in <2e2e6e53129e4ba1874d2ad0eec22c59>:0
UnityEditor.Scripting.APIUpdaterHelper:DoesAssemblyRequireUpgrade(String)

There are a couple of more, but there isn't much information on those.  I can include them if that would be helpful.

I suspect this is somehow related to Playmaker Photo package I added, but
 haven't confirmed that yet.

Anyone have any ideas?



10
iOS Help / Re: iOS Actions for GPS?
« on: July 09, 2017, 12:31:27 AM »
oh, excellent! This is exactly what I was looking for.  Thank you!

11
iOS Help / iOS Actions for GPS? [SOLVED]
« on: July 08, 2017, 07:02:04 PM »
Hey guys,

I'm new to building Unity projects on the iPhone and wondered if there are any actions out there for getting your current GPS location? 

12
Yeah, maybe too hard.  I realized last night that "Add force" was doing everything I wanted it to do in terms of moving the sphere in the right direction.  The only downside was that it was moving the sphere away from the player.

Then I realized that I could, duh, add some position constraints to the rigidbody and the problem is solved.

:)

Thanks guys!

13
Hey guys,

In my scene, I'm trying to figure out how to have the player "push" a sphere around.  The design calls for the player to be "connected" to the sphere at all times.  If you've ever played "Tomb Raider Guardian of Light" you'll recognize ta similar type of design:  https://www.youtube.com/watch?v=k5ch79joLFw

So for that reason, I think what makes the most sense is to parent the sphere to the player and then rotate the sphere in the direction the player is moving rather than relying on force actions which will just push the sphere away from the player.

The part I'm having trouble with is getting the rotation right. I can get the sphere to rotate, but it doesn't look like it's being "pushed" in the right direction.

I've attempted several ideas but none of them seem to be working.

Any one out there have any suggestions on how they'd go about solving this?

14
Playmaker Help / Re: Player push object (without a rigidbody)
« on: February 18, 2017, 10:36:26 AM »
Terri - thank you!!  That worked beautifully! 

15
Playmaker Help / Player push object (without a rigidbody) [SOLVED]
« on: February 17, 2017, 05:44:49 PM »
Hey everyone,

In my scene I want the player to push a large sphere, let's call it a boulder.

The player can't have a rigidbody component since my player is using a motion controller. 

The boulder can have a rigidbody, however.

What I want to be able to do is apply force in the direction from where the player collides with the boulders collision.

It seems like I should be able to do something like getting the vector of the player object on collision and then storing that as a variable and applying force in that direction to the boulder.  But everything I've tried has failed.

Anyone smarter than me have any ideas?


Pages: [1] 2 3 ... 6